From 95d011b77710e6cdcb76b44cdb8ecacbeba0d3af Mon Sep 17 00:00:00 2001 From: Andy Date: Mon, 2 Oct 2017 09:06:38 -0700 Subject: [PATCH] xxhashjs: Fix export style (#20197) * xxhashjs: Fix export style * `export const defaultExport` -> `declare` --- types/xxhashjs/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/xxhashjs/index.d.ts b/types/xxhashjs/index.d.ts index 59ca23d7f8..40c45cf3ab 100644 --- a/types/xxhashjs/index.d.ts +++ b/types/xxhashjs/index.d.ts @@ -19,4 +19,5 @@ export interface HashInterface { export const h32: HashInterface; export const h64: HashInterface; -export default { h32, h64 }; +declare const defaultExport: { h32: typeof h32, h64: typeof h64 }; +export default defaultExport;