@types/prop-types
Advanced tools
Comparing version 15.7.10 to 15.7.11
@@ -70,3 +70,3 @@ export type ReactComponentLike = | ||
export function instanceOf<T>(expectedClass: new(...args: any[]) => T): Requireable<T>; | ||
export function oneOf<T>(types: ReadonlyArray<T>): Requireable<T>; | ||
export function oneOf<T>(types: readonly T[]): Requireable<T>; | ||
export function oneOfType<T extends Validator<any>>(types: T[]): Requireable<NonNullable<InferType<T>>>; | ||
@@ -73,0 +73,0 @@ export function arrayOf<T>(type: Validator<T>): Requireable<T[]>; |
{ | ||
"name": "@types/prop-types", | ||
"version": "15.7.10", | ||
"version": "15.7.11", | ||
"description": "TypeScript definitions for prop-types", | ||
@@ -33,4 +33,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/prop-types", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "8ebda9ee5d09ce5183952f9d964c5e04d6a7d8ad1af472c8b5596c92191a13c2", | ||
"typesPublisherContentHash": "a098c8938982c7e7bc31f162c77bc407178535e98c85370e3b456598ee52e7c0", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 07 Nov 2023 09:09:39 GMT | ||
* Last updated: Mon, 20 Nov 2023 23:36:24 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ |
6161