diff --git a/package.json b/package.json index 837f45ff..c00d4506 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "rimraf": "^2.5.4", "semver": "^5.1.0", "tslint": "^5.0.0", - "tslint-config-standard": "^6.0.1", + "tslint-config-standard": "^7.0.0", "typescript": "^2.4.1" }, "dependencies": { diff --git a/src/index.ts b/src/index.ts index aaf466dd..f2003318 100644 --- a/src/index.ts +++ b/src/index.ts @@ -463,7 +463,7 @@ function readConfig (compilerOptions: any, project: string | boolean | undefined } if (typeof ts.parseJsonConfigFileContent === 'function') { - return fixConfig(ts.parseJsonConfigFileContent(result.config, ts.sys, basePath, undefined, configPath as string), ts) + return fixConfig(ts.parseJsonConfigFileContent(result.config, ts.sys, basePath, undefined, configPath), ts) } throw new TypeError('Could not find a compatible `parseConfigFile` function')