From 582ff6f5ee050b3c5797700ddbe286abd51ce32a Mon Sep 17 00:00:00 2001 From: James Cleveland Date: Fri, 26 Feb 2021 12:24:06 +0000 Subject: [PATCH] Make index.d.ts export correct The JS exports a complete object on module.exports, it does not export different variables. The only reason this definition worked was compatibility hacks. --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index eea8582..c25c064 100644 --- a/index.d.ts +++ b/index.d.ts @@ -28,4 +28,4 @@ export interface Expr { } declare const expr: Expr -export = expr +export default expr