Files
common/packages/x-textdecoder/src/shim.ts
T
2022-01-01 09:26:11 +02:00

8 lines
259 B
TypeScript

// Copyright 2017-2022 @polkadot/x-textdecoder authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { exposeGlobal } from '@polkadot/x-global';
import { TextDecoder } from '@polkadot/x-textdecoder';
exposeGlobal('TextDecoder', TextDecoder);