Align tsconfig to allow moduleResolution: nodenext (#3104)

This commit is contained in:
Jaco
2023-03-09 19:42:12 +02:00
committed by GitHub
parent ad0425bd2f
commit a98e6ac660
2 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
// Copyright 2020-2023 @polkadot/phishing authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { AddressList, HostList } from './types';
import type { AddressList, HostList } from './types.js';
import { u8aEq } from '@polkadot/util';
import { decodeAddress } from '@polkadot/util-crypto';
+2 -4
View File
@@ -3,10 +3,8 @@
"compilerOptions": {
"composite": true,
"paths": {
"@polkadot/phishing": ["phishing/src"],
"@polkadot/phishing/*": ["phishing/src/*"]
"@polkadot/phishing": ["phishing/src"]
},
"skipLibCheck": true,
"target": "es2020"
"skipLibCheck": true
}
}