8000 Fixed linter error · nycdotnet/TypeScript@81e784c · GitHub
[go: up one dir, main page]

Skip to content

Commit 81e784c

Browse files
committed
Fixed linter error
1 parent 798ffa7 commit 81e784c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/compiler/checker.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8652,7 +8652,7 @@ namespace ts {
86528652
let classSymbol = getSymbolOfNode(node);
86538653
return getTypeOfSymbol(classSymbol);
86548654
}
8655-
8655+
86568656
if (node.kind === SyntaxKind.Parameter) {
86578657
// For a parameter decorator, the `target` is the parent type of the
86588658
// parameter's containing method.
@@ -8662,7 +8662,7 @@ namespace ts {
86628662
return getTypeOfSymbol(classSymbol);
86638663
}
86648664
}
8665-
8665+
86668666
if (node.kind === SyntaxKind.PropertyDeclaration ||
86678667
node.kind === SyntaxKind.MethodDeclaration ||
86688668
node.kind === SyntaxKind.GetAccessor ||
@@ -8699,7 +8699,7 @@ namespace ts {
86998699
Debug.fail("Class decorators should not have a second synthetic argument.");
87008700
return unknownType;
87018701
}
8702-
8702+
87038703
if (node.kind === SyntaxKind.Parameter) {
87048704
node = node.parent;
87058705
if (node.kind === SyntaxKind.Constructor) {
@@ -8710,7 +8710,7 @@ namespace ts {
87108710
// For a non-constructor parameter decorator, the `propertyKey` will be either
87118711
// a string or a symbol, based on the name of the parameter's containing method.
87128712
}
8713-
8713+
87148714
if (node.kind === SyntaxKind.PropertyDeclaration ||
87158715
node.kind === SyntaxKind.MethodDeclaration ||
87168716
node.kind === SyntaxKind.GetAccessor ||
@@ -8759,17 +8759,17 @@ namespace ts {
87598759
Debug.fail("Class decorators should not have a third synthetic argument.");
87608760
return unknownType;
87618761
}
8762-
8762+
87638763
if (node.kind === SyntaxKind.Parameter) {
87648764
// The `parameterIndex` for a parameter decorator is always a number
87658765
return numberType;
87668766
}
8767-
8767+
87688768
if (node.kind === SyntaxKind.PropertyDeclaration) {
87698769
Debug.fail("Property decorators should not have a third synthetic argument.");
87708770
return unknownType;
87718771
}
8772-
8772+
87738773
if (node.kind === SyntaxKind.MethodDeclaration ||
87748774
node.kind === SyntaxKind.GetAccessor ||
87758775
node.kind === SyntaxKind.SetAccessor) {
@@ -8782,7 +8782,7 @@ namespace ts {
87828782
Debug.fail("Unsupported decorator target.");
87838783
return unknownType;
87848784
}
8785-
8785+
87868786
/**
87878787
* Returns the effective argument type for the provided argument to a decorator.
87888788
*/

0 commit comments

Comments
 (0)
0