Switch on TS isolatedModules (#1577)

This commit is contained in:
Jaco
2022-07-04 12:35:03 +03:00
committed by GitHub
parent 76af1b8822
commit 8273eb5441
3 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -28,7 +28,7 @@
},
"devDependencies": {
"@babel/core": "^7.18.6",
"@polkadot/dev": "^0.67.50",
"@polkadot/dev": "^0.67.51",
"@types/jest": "^28.1.4"
},
"resolutions": {
+2
View File
@@ -1,6 +1,8 @@
// Copyright 2017-2022 @polkadot/util authors & contributors
// SPDX-License-Identifier: Apache-2.0
export {};
describe('cryptoWaitReady', (): void => {
it('should return false when it cannot initialize', async (): Promise<void> => {
const old = global.WebAssembly;
+5 -5
View File
@@ -2045,9 +2045,9 @@ __metadata:
languageName: node
linkType: hard
"@polkadot/dev@npm:^0.67.50":
version: 0.67.50
resolution: "@polkadot/dev@npm:0.67.50"
"@polkadot/dev@npm:^0.67.51":
version: 0.67.51
resolution: "@polkadot/dev@npm:0.67.51"
dependencies:
"@babel/cli": ^7.18.6
"@babel/core": ^7.18.6
@@ -2135,7 +2135,7 @@ __metadata:
polkadot-exec-rollup: scripts/polkadot-exec-rollup.mjs
polkadot-exec-tsc: scripts/polkadot-exec-tsc.mjs
polkadot-exec-webpack: scripts/polkadot-exec-webpack.mjs
checksum: ba1f72f2013c31548f7f2995dc4da3bf219505d16536fa2f212152b3adc57c632007f47e10c849fbaacd3f93db74a49c7b5865c8ee4c92b66567c13b73f6a170
checksum: 9ab24914200a8a4fc60678b0eb45f8e835df00c5739997c27a5c7101a572cee619c2f4fc4dbc7e2cca5f2254afb8208a37a8c832d112ea0353ffdb9b8894ed84
languageName: node
linkType: hard
@@ -9401,7 +9401,7 @@ resolve@^2.0.0-next.3:
resolution: "root-workspace-0b6124@workspace:."
dependencies:
"@babel/core": ^7.18.6
"@polkadot/dev": ^0.67.50
"@polkadot/dev": ^0.67.51
"@types/jest": ^28.1.4
languageName: unknown
linkType: soft