Skip to content

Commit

Permalink
chore: enable isolatedModules compiler option
Browse files Browse the repository at this point in the history
  • Loading branch information
kripod committed Mar 30, 2020
1 parent 8eb765c commit 7ab6366
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion packages/web-api-hooks/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
export { EventArgs, EventMap, JSONArray, JSONObject, JSONValue } from './types';
export type {
EventArgs,
EventMap,
JSONArray,
JSONObject,
JSONValue,
} from './types';

export { default as useDeviceMotion } from './useDeviceMotion';
export { default as useDeviceOrientation } from './useDeviceOrientation';
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"module": "ESNext",
"moduleResolution": "Node",
"esModuleInterop": true,
// TODO: "isolatedModules": true,
"isolatedModules": true,
"jsx": "react"
},
"exclude": ["**/pkg/"]
Expand Down

0 comments on commit 7ab6366

Please sign in to comment.