@types/prompts
Advanced tools
Comparing version 2.0.12 to 2.0.13
@@ -81,3 +81,3 @@ // Type definitions for prompts 2.0 | ||
message?: ValueOrFunc<string>; | ||
initial?: string | number | boolean | Date; | ||
initial?: InitialReturnValue | PrevCaller<T, InitialReturnValue | Promise<InitialReturnValue>>; | ||
style?: string | PrevCaller<T, string | Falsy>; | ||
@@ -119,2 +119,4 @@ format?: PrevCaller<T, void>; | ||
type ValueOrFunc<T extends string> = T | PrevCaller<T>; | ||
type InitialReturnValue = string | number | boolean | Date; | ||
} |
{ | ||
"name": "@types/prompts", | ||
"version": "2.0.12", | ||
"version": "2.0.13", | ||
"description": "TypeScript definitions for prompts", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prompts", | ||
"license": "MIT", | ||
@@ -49,4 +50,4 @@ "contributors": [ | ||
}, | ||
"typesPublisherContentHash": "a64b74e28f32a10a2dca79af04b891acc06800568f567b64dcae17e501f96242", | ||
"typeScriptVersion": "3.5" | ||
"typesPublisherContentHash": "26dde624eea88e33f7e12f2568d8a77169996225384cccf43f98529230ff3f99", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Wed, 19 May 2021 14:01:22 GMT | ||
* Last updated: Wed, 09 Jun 2021 07:01:24 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -14,0 +14,0 @@ * Global values: none |
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
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
7759
91
0