Move @polkadot/x-{fetch,textdecoder,textencoder,ws} (#737)

* Move @polkadot/x-{fetch,textdecoder,textencoder,ws}

* Adjust copyrights

* Fix jest aliassing

* tsconfig resolution
This commit is contained in:
Jaco Greeff
2020-10-29 21:28:22 +01:00
committed by GitHub
parent 55f442f9fa
commit 0f05954dc5
24 changed files with 459 additions and 45 deletions
+8
View File
@@ -0,0 +1,8 @@
// Copyright 2017-2020 @polkadot/x-textencoder authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { TextDecoder as NodeTextDecoder } from 'util';
export default typeof TextDecoder === 'undefined'
? NodeTextDecoder as unknown as typeof TextDecoder
: TextDecoder;