diff --git a/runtime/JavaScript/package.json b/runtime/JavaScript/package.json index 6744ebb4a8..007e7ac436 100644 --- a/runtime/JavaScript/package.json +++ b/runtime/JavaScript/package.json @@ -52,17 +52,16 @@ "exports": { ".": { "node": { - "types": "./src/antlr4/index.d.ts", "import": "./dist/antlr4.node.mjs", "require": "./dist/antlr4.node.cjs", "default": "./dist/antlr4.node.mjs" }, "browser": { - "types": "./src/antlr4/index.d.ts", "import": "./dist/antlr4.web.mjs", "require": "./dist/antlr4.web.cjs", "default": "./dist/antlr4.web.mjs" - } + }, + "types": "./src/antlr4/index.d.ts" } } }