-
-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathjest.d.ts
27 lines (18 loc) · 894 Bytes
/
jest.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* eslint-disable @typescript-eslint/no-unused-vars */
import { TernaryProperties } from '../src/chord_sheet/chord_pro/ternary';
import { ContentType } from '../src/serialized_types';
declare global {
namespace jest {
interface Matchers<R> {
toBeKey({ note, modifier, minor: boolean }): jest.CustomMatcherResult;
toBeChordLyricsPair(chords: string, lyrics: string, annotation?: string): jest.CustomMatcherResult;
toBeLiteral(string: string): jest.CustomMatcherResult;
toBeSection(_type: ContentType, _contents: string): jest.CustomMatcherResult;
toBeTernary(properties: TernaryProperties): jest.CustomMatcherResult;
toBeComment(_contents: string): jest.CustomMatcherResult;
toBeTag(_name: string, _value?: string, _selector?: string): jest.CustomMatcherResult;
toBeSoftLineBreak(): jest.CustomMatcherResult;
}
}
}
export {};