@types/tape
Advanced tools
Comparing version 5.8.0 to 5.8.1
@@ -36,3 +36,3 @@ /// <reference types="node" /> | ||
/** Test will be allowed to fail. */ | ||
todo?: boolean | undefined; | ||
todo?: boolean | string | undefined; | ||
} | ||
@@ -107,2 +107,4 @@ | ||
type WithRequired<T, K extends keyof T> = T & { [P in K]-?: T[P] }; | ||
export interface Test { | ||
@@ -116,2 +118,7 @@ /** | ||
test(name: string, opts: TestOptions, cb: tape.TestCase): void; | ||
test( | ||
name: string, | ||
opts: WithRequired<TestOptions, "skip"> | WithRequired<TestOptions, "todo">, | ||
cb?: tape.TestCase, | ||
): void; | ||
@@ -118,0 +125,0 @@ /** |
{ | ||
"name": "@types/tape", | ||
"version": "5.8.0", | ||
"version": "5.8.1", | ||
"description": "TypeScript definitions for tape", | ||
@@ -60,4 +60,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tape", | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "2853604aaee43e0c7520f425c8a834cbf34e751e19c5be7e96d08b65356cefaa", | ||
"typesPublisherContentHash": "d2af95d3acad5e543fcd28816dd70007ac8ce52ed7626c454c21f647f35f2a68", | ||
"typeScriptVersion": "5.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 17 Dec 2024 22:02:24 GMT | ||
* Last updated: Tue, 14 Jan 2025 01:30:27 GMT | ||
* Dependencies: [@ljharb/through](https://npmjs.com/package/@ljharb/through), [@types/node](https://npmjs.com/package/@types/node), [mock-property](https://npmjs.com/package/mock-property) | ||
@@ -14,0 +14,0 @@ |
18543
345