From 6b66428a032f357b725cbbd32c1d010f3a374e44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Acid=20Chicken=20=28=E7=A1=AB=E9=85=B8=E9=B6=8F=29?= Date: Tue, 26 Mar 2019 21:52:58 +0900 Subject: [PATCH] Follow lint --- src/@types/deepcopy.d.ts | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/@types/deepcopy.d.ts b/src/@types/deepcopy.d.ts index 3eb08d577..f276b7e67 100644 --- a/src/@types/deepcopy.d.ts +++ b/src/@types/deepcopy.d.ts @@ -1,17 +1,19 @@ -declare module 'deepcopy'; - -declare namespace deepcopy { +declare module 'deepcopy' { type DeepcopyCustomizerValueType = 'Object'; type DeepcopyCustomizer = ( value: T, valueType: DeepcopyCustomizerValueType) => T; - interface DeepcopyOptions { + interface IDeepcopyOptions { customizer: DeepcopyCustomizer; } - export function deepcopy( + function deepcopy( value: T, - options?: DeepcopyOptions | DeepcopyCustomizer): T; + options?: IDeepcopyOptions | DeepcopyCustomizer): T; + + namespace deepcopy {} // Hack + + export = deepcopy; }