@types/qunit
Advanced tools
Comparing version 2.19.11 to 2.19.12
@@ -563,8 +563,11 @@ declare global { | ||
type TestFunctionCallback = (assert: Assert) => void | Promise<void>; | ||
type EachFunction = <T>( | ||
name: string, | ||
dataset: T[] | { [key: string]: T }, | ||
callback: (assert: Assert, data: T) => void, | ||
) => void; | ||
interface EachFunction { | ||
<T>( | ||
name: string, | ||
dataset: T[] | { [key: string]: T }, | ||
callback: (assert: Assert, data: T) => void, | ||
): void; | ||
} | ||
interface IfFunction { | ||
@@ -586,3 +589,3 @@ (name: string, condition: boolean, callback: TestFunctionCallback): void; | ||
interface TodoFunction { | ||
(name: string, callback: TestFunctionCallback): void; | ||
(name: string, callback?: TestFunctionCallback): void; | ||
each: EachFunction; | ||
@@ -592,3 +595,3 @@ } | ||
interface SkipFunction { | ||
(name: string, callback: TestFunctionCallback): void; | ||
(name: string, callback?: TestFunctionCallback): void; | ||
each: EachFunction; | ||
@@ -774,3 +777,3 @@ } | ||
*/ | ||
only(name: string, callback: (assert: Assert) => void | Promise<void>): void; | ||
only(name: string, callback: QUnit.TestFunctionCallback): void; | ||
@@ -814,3 +817,3 @@ /** | ||
*/ | ||
skip(name: string, callback?: (assert: Assert) => void | Promise<void>): void; | ||
skip(name: string, callback?: QUnit.TestFunctionCallback): void; | ||
@@ -899,3 +902,3 @@ /** | ||
*/ | ||
todo(name: string, callback?: (assert: Assert) => void | Promise<void>): void; | ||
todo(name: string, callback?: QUnit.TestFunctionCallback): void; | ||
@@ -902,0 +905,0 @@ /** |
{ | ||
"name": "@types/qunit", | ||
"version": "2.19.11", | ||
"version": "2.19.12", | ||
"description": "TypeScript definitions for qunit", | ||
@@ -49,4 +49,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/qunit", | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "708d2b645c35479d354cb5709bdb0bc0bb3d1e6485a5f6f5b201b406596b74c1", | ||
"typesPublisherContentHash": "63f66945dfdfb0a273c95759b05ff1890230ef4910f64f747364532c7a1e3117", | ||
"typeScriptVersion": "4.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 22 Oct 2024 00:30:28 GMT | ||
* Last updated: Thu, 31 Oct 2024 00:46:53 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
39961
850