Sha256: 8e5a1adaae977af48997dec89d6cc6075aee453b661faf7252b4b3a44c7f2bbb
Contents?: true
Size: 753 Bytes
Versions: 26
Compression:
Stored size: 753 Bytes
Contents
import {type TestingLibraryMatchers as _TLM} from './matchers' interface MatcherReturnType { pass: boolean message: () => string } interface OverloadedMatchers { toHaveClass(expected: any, ...rest: string[]) : MatcherReturnType toHaveClass( expected: any, className: string, options?: {exact: boolean}, ) : MatcherReturnType } declare namespace matchersStandalone { type MatchersStandalone = { [T in keyof _TLM<any, void>]: ( expected: any, ...rest: Parameters<_TLM<any, void>[T]> ) => MatcherReturnType } & OverloadedMatchers type TestingLibraryMatchers<E, R> = _TLM<E, R> } declare const matchersStandalone: matchersStandalone.MatchersStandalone & Record<string, any> export = matchersStandalone
Version data entries
26 entries across 26 versions & 1 rubygems