Add tslint (#151)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
// This software may be modified and distributed under the terms
|
||||
// of the ISC license. See the LICENSE file for details.
|
||||
|
||||
// tslint:disable-next-line
|
||||
if (typeof TextEncoder === 'undefined') {
|
||||
// @ts-ignore
|
||||
global.TextEncoder = require('util').TextEncoder;
|
||||
|
||||
Reference in New Issue
Block a user