From c7b1a21822255b6dee7dff8307eca7f21b710137 Mon Sep 17 00:00:00 2001 From: Jorge Ramos Date: Sun, 19 Aug 2018 12:58:01 -0300 Subject: [PATCH] Add keyofStringsOnly in tsconfig --- tsconfig.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 859909e..f8ab778 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,6 +5,7 @@ "declaration": true, "emitDecoratorMetadata": true, "experimentalDecorators": true, + "keyofStringsOnly": true, "mapRoot": "./dist/", "module": "commonjs", "moduleResolution": "node", @@ -15,7 +16,10 @@ "node_modules/@types" ] }, - "include": ["test/**/*", "src/**/*"], + "include": [ + "test/**/*", + "src/**/*" + ], "exclude": [ "dist", "node_modules"