From 582698ebfaa399e7d728380bd665ee81fb06cbeb Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 26 Mar 2020 20:49:19 +0400 Subject: Fixed TypeScript error after create new file Signed-off-by: Valentin Popov --- src/typescript.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/typescript.ts') diff --git a/src/typescript.ts b/src/typescript.ts index ace7ad7..6295159 100644 --- a/src/typescript.ts +++ b/src/typescript.ts @@ -9,6 +9,9 @@ module.exports = { "plugin:import/typescript", ], "parser": "@typescript-eslint/parser", + "parserOptions": { + createDefaultProgram: true, + }, "plugins": [ "@typescript-eslint", ], -- cgit v1.2.3