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;