TypeScript conversion (#142)

* Auto-conversion

* Cleanup type conversion errors

* Inching closer, resolution sorted

* Additional cleanups

* TS, TS everywhere

* Minor version for TS release

* Last roundups
This commit is contained in:
Jaco Greeff
2018-06-22 21:17:50 +02:00
committed by GitHub
parent ad444e27d7
commit 4470dfa7b9
190 changed files with 1085 additions and 2061 deletions
@@ -0,0 +1,8 @@
// Copyright 2017-2018 @polkadot/util authors & contributors
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
if (typeof TextEncoder === 'undefined') {
// @ts-ignore
global.TextEncoder = require('util').TextEncoder;
}