Skip to content

Commit 9cba25a

Browse files
Disabled TypeScript module interop to prevent it from emitting unneeded helper functions
1 parent b48a681 commit 9cba25a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/isomorphic.node.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import util from "util";
1+
import * as util from "util";
22
import { getDeepKeys } from "./to-json";
33
import { ErrorPOJO, OnoError } from "./types";
44

tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"target": "esnext",
44
"module": "esnext",
55
"moduleResolution": "node",
6-
"esModuleInterop": true,
76
"lib": [
87
"esnext",
98
"dom"

0 commit comments

Comments
 (0)