Adjust deno exports in x-* (#1578)

* Adjust deno exports in x-*

* Adjust versionDetect
This commit is contained in:
Jaco
2022-07-05 09:55:57 +03:00
committed by GitHub
parent 2194cc58d7
commit 66acbe04af
8 changed files with 34 additions and 21 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
// Copyright 2017-2022 @polkadot/x-textencoder authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { xglobal } from '@polkadot/x-global';
export { packageInfo } from './packageInfo';
export const TextDecoder = xglobal.TextDecoder;
const _TextDecoder = TextDecoder;
export { _TextDecoder as TextDecoder };