Move util function from @polkadot/client (#62)
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// ISC, Copyright 2017-2018 Jaco Greeff
|
||||
// @flow
|
||||
|
||||
if (typeof TextEncoder === 'undefined') {
|
||||
// $FlowFixMe trust me flow, it is there
|
||||
global.TextEncoder = require('util').TextEncoder;
|
||||
}
|
||||
Reference in New Issue
Block a user