We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 960d4eb commit f145b05Copy full SHA for f145b05
rollup.config.mjs
@@ -7,7 +7,7 @@ import pkg from './package.json' assert { type: "json" };
7
*/
8
const commonOutput = {
9
sourcemap: true,
10
- interop: "defaultOnly",
+ interop: "compat",
11
}
12
13
/**
src/index.ts
@@ -50,4 +50,7 @@ class Time extends Number {
50
51
52
53
-export default Time as unknown as TimeReturn;
+const TimeReturn = Time as unknown as TimeReturn;
54
+
55
+export default TimeReturn;
56
+export { TimeReturn as Time };
0 commit comments