adding matchAny to should.d.ts

This commit is contained in:
Jonathan Carvalhosa
2015-09-24 19:28:09 -03:00
parent 32029fcb4e
commit 6bc6cddfd9
+4
View File
@@ -49,6 +49,10 @@ interface ShouldAssertion {
matchEach(other: (val: any) => any, description?: string): ShouldAssertion;
matchEach(regexp: RegExp, description?: string): ShouldAssertion;
matchEach(other: any, description?: string): ShouldAssertion;
matchAny(other: {}, description?: string): ShouldAssertion;
matchAny(other: (val: any) => any, description?: string): ShouldAssertion;
matchAny(regexp: RegExp, description?: string): ShouldAssertion;
matchAny(other: any, description?: string): ShouldAssertion;
length(n: number, description?: string): ShouldAssertion;
property(name: string, description?: string): ShouldAssertion;
property(name: string, val: any, description?: string): ShouldAssertion;