mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Fixed type of assert.async()`.
The function `assert.async` is not of type `any`, it is a parameterless, void function.
This commit is contained in:
parent
f8f1b95d00
commit
c673b469b7
2
qunit/qunit.d.ts
vendored
2
qunit/qunit.d.ts
vendored
@ -170,7 +170,7 @@ interface QUnitAssert {
|
||||
* resolution callback for each async operation. The callback returned from assert.async()
|
||||
* will throw an Error if is invoked more than once.
|
||||
*/
|
||||
async(): any;
|
||||
async(): () => void;
|
||||
|
||||
/**
|
||||
* A deep recursive comparison assertion, working on primitive types, arrays, objects,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user