-
Notifications
You must be signed in to change notification settings - Fork 92
/
Copy pathshould.d.ts
44 lines (41 loc) · 961 Bytes
/
should.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
declare module "should" {
}
interface Object {
should: any;
be: any;
not: any;
an: any;
ok: any;
arguments: any;
empty: any;
true: any;
false: any;
json: any;
html: any;
include(obj: any): any;
includeEql(obj: any): any;
throw (): any;
throwError(regExp: RegExp): any;
within(start: number, end: number): any;
fail(value?: string): any;
strictEqual(a: any, b: any): any;
eql(value: any): any;
equal(value: any): any;
exist(value: any): any;
above(number: number): any;
below(number: number): any;
ownProperty(name: string): any;
match(reg: RegExp): any;
length(value: number): any;
instanceof(value: Function): any;
instanceOf(value: Function): any;
have: any;
and: any;
property(...name:string[]): any;
keys(...keys:string[]): any;
lengthOf(value: number): any;
a(name: string): any;
status(code: number): any;
header(field: string, value?: any): any;
}
declare var should: any;