mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 14:27:04 +00:00
Update index.d.ts
This commit is contained in:
Vendored
+1
-1
@@ -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