mirror of
https://github.com/pezkuwichain/phishing.git
synced 2026-06-18 16:21:05 +00:00
Bump to TS 5.0 (#3141)
* Bump to TS 5.0 * Adjust global dev-test imports
This commit is contained in:
@@ -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,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,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,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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user