-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.test-d.ts
30 lines (29 loc) · 1.05 KB
/
index.test-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
28
29
30
import {expectType} from 'tsd';
import faker from './index.js';
expectType<boolean>(faker().boolean());
expectType<number>(faker().age());
expectType<string>(faker().animal());
expectType<string>(faker().gender());
expectType<string>(faker().string());
expectType<string>(faker().letter());
expectType<string>(faker().profession());
expectType<string>(faker().ip());
expectType<string>(faker().superhero());
expectType<number>(faker().integer());
expectType<number>(faker().float());
expectType<string>(faker().word());
expectType<string>(faker().sentence());
expectType<string>(faker().paragraph());
expectType<string>(faker().domain());
expectType<string>(faker().url());
expectType<string>(faker().tld());
expectType<string>(faker().browser());
expectType<string>(faker().email());
expectType<string>(faker().firstName());
expectType<string>(faker().lastName());
expectType<any>(faker().game());
expectType<any>(faker().house());
expectType<any>(faker().sport());
expectType<any>(faker().blood());
expectType<any>(faker().computer());
expectType<any>(faker().camera());