Skip to content
This repository was archived by the owner on Nov 4, 2020. It is now read-only.

Commit 0abf2d5

Browse files
authored
Merge pull request #167 from lumaxis/bugfix/typescript-error
Fix TypeScript compiler issue with fulfilled assertion
2 parents 9dcde0f + d1e9efe commit 0abf2d5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

should.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,9 @@ declare namespace should {
163163
//promise
164164
Promise(): this;
165165

166-
fulfilled: Promise<any>;
167-
resolved: Promise<any>;
168-
rejected: Promise<any>;
166+
fulfilled(): Promise<any>;
167+
resolved(): Promise<any>;
168+
rejected(): Promise<any>;
169169

170170
fulfilledWith(obj: any): Promise<any>;
171171
resolvedWith(obj: any): Promise<any>;

0 commit comments

Comments
 (0)