@types/prettier
Advanced tools
Comparing version 2.6.1 to 2.6.2
@@ -36,3 +36,3 @@ // Type definitions for prettier 2.6 | ||
// A union of the properties of the given object that are arrays. | ||
type ArrayProperties<T> = { [K in keyof T]: T[K] extends any[] ? K : never }[keyof T]; | ||
type ArrayProperties<T> = { [K in keyof T]: NonNullable<T[K]> extends any[] ? K : never }[keyof T]; | ||
@@ -39,0 +39,0 @@ // A union of the properties of the given array T that can be used to index it. |
{ | ||
"name": "@types/prettier", | ||
"version": "2.6.1", | ||
"version": "2.6.2", | ||
"description": "TypeScript definitions for prettier", | ||
@@ -58,4 +58,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prettier", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "1f8bd31de941c105038a0118731a95a48ca87963a5b76098ffc7b2c494917c11", | ||
"typesPublisherContentHash": "fb2b12d7afb5ceabf6cbcf703bb4c93aa8baa41a3531660c12add3a60364c43d", | ||
"typeScriptVersion": "4.2" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 12 May 2022 18:31:39 GMT | ||
* Last updated: Sat, 28 May 2022 01:31:28 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: `prettier` |
48818