We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6bb327d commit 1777b68Copy full SHA for 1777b68
src/index.ts
@@ -34,4 +34,4 @@ function createSharedReactContext<T>(
34
return context;
35
}
36
37
-export default createSharedReactContext;
+export = createSharedReactContext;
tsconfig.json
@@ -2,10 +2,12 @@
2
"compilerOptions": {
3
"jsx": "react",
4
"allowSyntheticDefaultImports": true,
5
+ "esModuleInterop": true,
6
"types": ["node"],
7
"outDir": "./dist",
8
"allowJs": true,
9
"target": "es6",
10
+ "module": "commonjs",
11
"moduleResolution": "node",
12
"strict": true
13
},
0 commit comments