summaryrefslogtreecommitdiff
path: root/src/@types
diff options
context:
space:
mode:
authorMeiMei <30769358+mei23@users.noreply.github.com>2020-10-01 19:51:34 +0900
committerGitHub <noreply@github.com>2020-10-01 19:51:34 +0900
commite9284930df484e2fb7a26c90f93c06e1dae8fbbf (patch)
tree9cb875031baaf2957ce0b7afd206acbec91f7c88 /src/@types
parent匿名ユーザーでapp/showをリクエストすると500を返すのを修... (diff)
downloadsharkey-e9284930df484e2fb7a26c90f93c06e1dae8fbbf.tar.gz
sharkey-e9284930df484e2fb7a26c90f93c06e1dae8fbbf.tar.bz2
sharkey-e9284930df484e2fb7a26c90f93c06e1dae8fbbf.zip
Update nested-property (#6720)
Diffstat (limited to 'src/@types')
-rw-r--r--src/@types/nested-property.d.ts21
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;
-}