Bump to TS 5.0 (#3141)

* Bump to TS 5.0

* Adjust global dev-test imports
This commit is contained in:
Jaco
2023-03-17 07:57:42 +02:00
committed by GitHub
parent c41c7155d1
commit 49566ec95a
6 changed files with 47 additions and 37 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
// Copyright 2020-2023 @polkadot/phishing authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/node.d.ts" />
/// <reference types="@polkadot/dev-test/globals.d.ts" />
import fs from 'node:fs';
+1 -1
View File
@@ -1,7 +1,7 @@
// Copyright 2020-2023 @polkadot/phishing authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/node.d.ts" />
/// <reference types="@polkadot/dev-test/globals.d.ts" />
import fs from 'node:fs';
+1 -1
View File
@@ -1,7 +1,7 @@
// Copyright 2020-2023 @polkadot/phishing authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/node.d.ts" />
/// <reference types="@polkadot/dev-test/globals.d.ts" />
import { load as yamlParse } from 'js-yaml';
import fs from 'node:fs';
+1 -1
View File
@@ -1,7 +1,7 @@
// Copyright 2020-2023 @polkadot/phishing authors & contributors
// SPDX-License-Identifier: Apache-2.0
/// <reference types="@polkadot/dev-test/node.d.ts" />
/// <reference types="@polkadot/dev-test/globals.d.ts" />
import { checkAddress, checkIfDenied } from './index.js';