From c673b469b7d1b5c55433e4bdf5466eff2ef919a2 Mon Sep 17 00:00:00 2001 From: Josh McCullough Date: Mon, 30 Mar 2015 16:24:42 -0400 Subject: [PATCH] Fixed type of assert.async()`. The function `assert.async` is not of type `any`, it is a parameterless, void function. --- qunit/qunit.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qunit/qunit.d.ts b/qunit/qunit.d.ts index dbf5d9c087..ddbf014e43 100644 --- a/qunit/qunit.d.ts +++ b/qunit/qunit.d.ts @@ -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,