mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
Update index.d.ts
This commit is contained in:
2
types/prop-types/index.d.ts
vendored
2
types/prop-types/index.d.ts
vendored
@@ -4,7 +4,7 @@
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.2
|
||||
|
||||
type Validator<T> = (object: T, key: string, componentName: string, ...rest: any[]) => Error | null
|
||||
type Validator<T> = (object: T, key: string, componentName: string, ...rest: any[]) => Error | null;
|
||||
|
||||
interface Requireable<T> extends Validator<T> {
|
||||
isRequired: Validator<T>;
|
||||
|
||||
Reference in New Issue
Block a user