From f1d578b3bf02e443fe8bf5a4659632dd44af4627 Mon Sep 17 00:00:00 2001 From: Jason Grout Date: Tue, 27 Mar 2018 23:24:38 -0700 Subject: [PATCH] Add text encoding types. --- packages/controls/package.json | 1 + packages/controls/src/tsconfig.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/controls/package.json b/packages/controls/package.json index 788037bedd..c901da8b2a 100644 --- a/packages/controls/package.json +++ b/packages/controls/package.json @@ -39,6 +39,7 @@ "@types/mathjax": "0.0.31", "@types/mocha": "^2.2.41", "@types/node": "^8.0.1", + "@types/text-encoding": "^0.0.32", "chai": "^4.0.0", "css-loader": "^0.28.4", "expect.js": "^0.3.1", diff --git a/packages/controls/src/tsconfig.json b/packages/controls/src/tsconfig.json index 7286de6787..0f090df816 100644 --- a/packages/controls/src/tsconfig.json +++ b/packages/controls/src/tsconfig.json @@ -3,7 +3,7 @@ "declaration": true, //"noImplicitAny": true, "lib": ["dom", "es5", "es2015.promise", "es2015.iterable"], - "types": ["mathjax", "node"], + "types": ["mathjax", "node", "text-encoding"], "noEmitOnError": true, "module": "commonjs", "moduleResolution": "node",