@types/prettier
Advanced tools
Comparing version 2.7.1 to 2.7.2
@@ -548,3 +548,3 @@ // Type definitions for prettier 2.7 | ||
export type SupportOptionType = 'int' | 'boolean' | 'choice' | 'path'; | ||
export type SupportOptionType = 'int' | 'string' | 'boolean' | 'choice' | 'path'; | ||
@@ -593,2 +593,12 @@ export type CoreCategoryType = 'Config' | 'Editor' | 'Format' | 'Other' | 'Output' | 'Global' | 'Special'; | ||
export interface StringSupportOption extends BaseSupportOption<'string'> { | ||
default?: string | undefined; | ||
array?: false | undefined; | ||
} | ||
export interface StringArraySupportOption extends BaseSupportOption<'string'> { | ||
default?: Array<{ value: string[] }> | undefined; | ||
array: true; | ||
} | ||
export interface BooleanSupportOption extends BaseSupportOption<'boolean'> { | ||
@@ -629,2 +639,4 @@ default?: boolean | undefined; | ||
| IntArraySupportOption | ||
| StringSupportOption | ||
| StringArraySupportOption | ||
| BooleanSupportOption | ||
@@ -631,0 +643,0 @@ | BooleanArraySupportOption |
{ | ||
"name": "@types/prettier", | ||
"version": "2.7.1", | ||
"version": "2.7.2", | ||
"description": "TypeScript definitions for prettier", | ||
@@ -58,4 +58,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prettier", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "6a62dee7c1db1e9ccffd4f4d23eb63e0b6863d58b971cf804f99cc039ceeedb1", | ||
"typesPublisherContentHash": "99cc9780c4abc9fa045f57796c8ae3ec7eee54669b1eecb6f4cc5ed62321a8a8", | ||
"typeScriptVersion": "4.2" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Sat, 24 Sep 2022 05:02:56 GMT | ||
* Last updated: Tue, 20 Dec 2022 12:32:40 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: `prettier` |
49458
1180