diff options
Diffstat (limited to 'src/@types')
| -rw-r--r-- | src/@types/nested-property.d.ts | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/@types/nested-property.d.ts b/src/@types/nested-property.d.ts deleted file mode 100644 index 097b786a50..0000000000 --- a/src/@types/nested-property.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -type Obj = { [key: string]: any }; - -declare module 'nested-property' { - interface IHasNestedPropertyOptions { - own?: boolean; - } - - interface IIsInNestedPropertyOptions { - validPath?: boolean; - } - - export function set<T>(object: T, property: string, value: any): T; - - export function get(object: Obj, property: string): any; - - export function has(object: Obj, property: string, options?: IHasNestedPropertyOptions): boolean; - - export function hasOwn(object: Obj, property: string, options?: IHasNestedPropertyOptions): boolean; - - export function isIn(object: Obj, property: string, objectInPath: Obj, options?: IIsInNestedPropertyOptions): boolean; -} |