Skip to content

Commit 3faad6c

Browse files
greenkeeper[bot]ajafff
authored andcommitted
Update @fimbul/wotan to the latest version πŸš€ (#55)
1 parent 1b62c5c commit 3faad6c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

β€Žpackage.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"tsutils": "^2.22.2"
4040
},
4141
"devDependencies": {
42-
"@fimbul/wotan": "^0.4.0",
42+
"@fimbul/wotan": "^0.5.0",
4343
"coveralls": "^3.0.0",
4444
"github-release-from-changelog": "^1.2.1",
4545
"npm-run-all": "^4.1.1",

β€Žrules/noUnnecessaryTypeAnnotationRule.tsβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ function walk(ctx: Lint.WalkContext<IOptions>, checker: ts.TypeChecker) {
9595
for (let i = 0; i < parameters.length; ++i) {
9696
if (!restParameterContext) {
9797
const context = signature.parameters[i];
98+
// wotan-disable-next-line no-useless-predicate
9899
if (context === undefined || context.valueDeclaration === undefined)
99100
break;
100101
if (isTypeParameter(checker.getTypeAtLocation(context.valueDeclaration)))

0 commit comments

Comments
Β (0)