Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Commit

Permalink
Enable isolatedModules to JS can interpret const enums
Browse files Browse the repository at this point in the history
  • Loading branch information
Fletcher91 committed Mar 30, 2020
1 parent b288702 commit 80bd583
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@
"@pika/plugin-bundle-web": "^0.8.1",
"@pika/plugin-ts-standard-pkg": "^0.8.1",
"eslint": "^6.7.1",
"typescript": "^3.7.2"
"typescript": "^3.8.3"
}
}
1 change: 1 addition & 0 deletions core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"es2019"
],

"isolatedModules": true,
"strict": true,

"noUnusedLocals": true,
Expand Down
8 changes: 4 additions & 4 deletions core/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3577,10 +3577,10 @@ type-fest@^0.8.1:
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d"
integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==

typescript@^3.7.2:
version "3.7.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.7.2.tgz#27e489b95fa5909445e9fef5ee48d81697ad18fb"
integrity sha512-ml7V7JfiN2Xwvcer+XAf2csGO1bPBdRbFCkYBczNZggrBZ9c7G3riSUeJmqEU5uOtXNPMhE3n+R4FA/3YOAWOQ==
typescript@^3.8.3:
version "3.8.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.8.3.tgz#409eb8544ea0335711205869ec458ab109ee1061"
integrity sha512-MYlEfn5VrLNsgudQTVJeNaQFUAI7DkhnOjdpAp4T+ku1TfQClewlbSuTVHiA+8skNBgaf02TL/kLOvig4y3G8w==

unicode-canonical-property-names-ecmascript@^1.0.4:
version "1.0.4"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@
"shelljs": "^0.8.3",
"ts-morph": "^4.0.1",
"ts-node": "^8.5.2",
"typescript": "^3.7.2"
"typescript": "^3.8.3"
}
}

0 comments on commit 80bd583

Please sign in to comment.