* Use .js imports in src * Revert node/test/node -> node/test/node.d.ts (for now) * util-crypto * Additional * Adjust tsconfig aliases * Bump dev
11 lines
351 B
TypeScript
11 lines
351 B
TypeScript
// Copyright 2017-2023 @polkadot/x-textencoder authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import { extractGlobal } from '@polkadot/x-global';
|
|
|
|
import { TextDecoder as Fallback } from './fallback.js';
|
|
|
|
export { packageInfo } from './packageInfo.js';
|
|
|
|
export const TextDecoder = /*#__PURE__*/ extractGlobal('TextDecoder', Fallback);
|