tsutils
Advanced tools
Comparing version 3.9.1 to 3.10.0
@@ -0,1 +1,11 @@ | ||
# 3.10.0 | ||
**Features:** | ||
* `isCompilerOptionEnabled`: `incremental` is implicitly enabled by `composite` | ||
**Bugfixes:** | ||
* `collectVariableUsage`/`getUsageDomain`: no longer treat `as const` as type usage | ||
# 3.9.1 | ||
@@ -2,0 +12,0 @@ |
{ | ||
"name": "tsutils", | ||
"version": "3.9.1", | ||
"version": "3.10.0", | ||
"description": "utilities for working with typescript's AST", | ||
@@ -35,13 +35,13 @@ "scripts": { | ||
"@fimbul/mithotyn": "^0.17.0", | ||
"@fimbul/valtyr": "^0.17.0", | ||
"@fimbul/wotan": "^0.17.0", | ||
"@fimbul/valtyr": "^0.20.0", | ||
"@fimbul/wotan": "^0.20.0", | ||
"@types/chai": "^4.0.10", | ||
"@types/mocha": "^5.0.0", | ||
"@types/node": "^10.0.3", | ||
"@types/node": "^11.13.0", | ||
"chai": "^4.1.2", | ||
"coveralls": "^3.0.0", | ||
"github-release-from-changelog": "^1.3.0", | ||
"mocha": "^5.0.0", | ||
"mocha": "^6.0.2", | ||
"npm-run-all": "^4.1.2", | ||
"nyc": "^12.0.1", | ||
"nyc": "^13.3.0", | ||
"ts-transform-const-enum": "^0.0.1", | ||
@@ -51,3 +51,3 @@ "tslint": "^5.8.0", | ||
"ttypescript": "^1.5.5", | ||
"typescript": "^3.4.0-dev.20190131" | ||
"typescript": "^3.4.1" | ||
}, | ||
@@ -54,0 +54,0 @@ "peerDependencies": { |
@@ -26,3 +26,3 @@ "use strict"; | ||
case ts.SyntaxKind.TypeReference: | ||
return 2; | ||
return node.originalKeywordKind !== ts.SyntaxKind.ConstKeyword ? 2 : undefined; | ||
case ts.SyntaxKind.ExpressionWithTypeArguments: | ||
@@ -29,0 +29,0 @@ return parent.parent.token === ts.SyntaxKind.ImplementsKeyword || |
@@ -1141,2 +1141,4 @@ "use strict"; | ||
return options.declaration || isCompilerOptionEnabled(options, 'composite'); | ||
case 'incremental': | ||
return options.incremental === undefined ? isCompilerOptionEnabled(options, 'composite') : options.incremental; | ||
case 'skipDefaultLibCheck': | ||
@@ -1143,0 +1145,0 @@ return options.skipDefaultLibCheck || isCompilerOptionEnabled(options, 'skipLibCheck'); |
Sorry, the diff of this file is not supported yet
296599
3513