Use .js imports in src (#1756)
* Use .js imports in src * Revert node/test/node -> node/test/node.d.ts (for now) * util-crypto * Additional * Adjust tsconfig aliases * Bump dev
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
|
||||
import { extractGlobal } from '@polkadot/x-global';
|
||||
|
||||
import { TextDecoder as Fallback } from './fallback';
|
||||
import { TextDecoder as Fallback } from './fallback.js';
|
||||
|
||||
export { packageInfo } from './packageInfo';
|
||||
export { packageInfo } from './packageInfo.js';
|
||||
|
||||
export const TextDecoder = /*#__PURE__*/ extractGlobal('TextDecoder', Fallback);
|
||||
|
||||
Reference in New Issue
Block a user