From 6bc6cddfd9498ce23e6a7d8e44e7ef295d69749a Mon Sep 17 00:00:00 2001 From: Jonathan Carvalhosa Date: Thu, 24 Sep 2015 19:28:09 -0300 Subject: [PATCH] adding matchAny to should.d.ts --- should/should.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/should/should.d.ts b/should/should.d.ts index a787b622cd..ba32f571b6 100644 --- a/should/should.d.ts +++ b/should/should.d.ts @@ -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;