mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 19:07:08 +00:00
Typo: no param name for "xhr" param in respondWith on fakeServer
This commit is contained in:
parent
e214271a12
commit
2fc878b482
10
sinon/sinon-1.5.d.ts
vendored
10
sinon/sinon-1.5.d.ts
vendored
@ -233,19 +233,19 @@ interface SinonFakeServer {
|
||||
// Methods
|
||||
respondWith(body: string): void;
|
||||
respondWith(response: any[]): void;
|
||||
respondWith(fn: (SinonFakeXMLHttpRequest) => void ): void;
|
||||
respondWith(fn: (xhr: SinonFakeXMLHttpRequest) => void ): void;
|
||||
respondWith(url: string, body: string): void;
|
||||
respondWith(url: string, response: any[]): void;
|
||||
respondWith(url: string, fn: (SinonFakeXMLHttpRequest) => void ): void;
|
||||
respondWith(url: string, fn: (xhr: SinonFakeXMLHttpRequest) => void ): void;
|
||||
respondWith(method: string, url: string, body: string): void;
|
||||
respondWith(method: string, url: string, response: any[]): void;
|
||||
respondWith(method: string, url: string, fn: (SinonFakeXMLHttpRequest) => void ): void;
|
||||
respondWith(method: string, url: string, fn: (xhr: SinonFakeXMLHttpRequest) => void ): void;
|
||||
respondWith(url: RegExp, body: string): void;
|
||||
respondWith(url: RegExp, response: any[]): void;
|
||||
respondWith(url: RegExp, fn: (SinonFakeXMLHttpRequest) => void ): void;
|
||||
respondWith(url: RegExp, fn: (xhr: SinonFakeXMLHttpRequest) => void ): void;
|
||||
respondWith(method: string, url: RegExp, body: string): void;
|
||||
respondWith(method: string, url: RegExp, response: any[]): void;
|
||||
respondWith(method: string, url: RegExp, fn: (SinonFakeXMLHttpRequest) => void ): void;
|
||||
respondWith(method: string, url: RegExp, fn: (xhr: SinonFakeXMLHttpRequest) => void ): void;
|
||||
respond(): void;
|
||||
restore(): void;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user