Skip to content

Commit e405cce

Browse files
author
Yui T
committed
fix linter failure
1 parent 6a62c01 commit e405cce

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/compiler/emitter.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3564,7 +3564,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, Promi
35643564
}
35653565
emitAssignment(identifier, expression, shouldEmitCommaBeforeAssignment);
35663566
return identifier;
3567-
}
3567+
}
35683568

35693569
function emitDestructuring(root: BinaryExpression | VariableDeclaration | ParameterDeclaration, isAssignmentExpressionStatement: boolean, value?: Expression) {
35703570
let emitCount = 0;

src/compiler/parser.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -3215,7 +3215,7 @@ namespace ts {
32153215
<BinaryExpression>parseBinaryExpressionRest(getBinaryOperatorPrecedence(), incrementExpression) :
32163216
incrementExpression;
32173217
}
3218-
3218+
32193219
let unaryOperator = token;
32203220
let simpleUnaryExpression = parseSimpleUnaryExpression();
32213221
if (token === SyntaxKind.AsteriskAsteriskToken) {
@@ -3277,7 +3277,7 @@ namespace ts {
32773277
* ++LeftHandSideExpression[?Yield]
32783278
* --LeftHandSideExpression[?Yield]
32793279
*/
3280-
function isIncrementExpression(): boolean{
3280+
function isIncrementExpression(): boolean {
32813281
// This function is called inside parseUnaryExpression to decide
32823282
// whether to call parseSimpleUnaryExpression or call parseIncrmentExpression directly
32833283
switch (token) {
@@ -3288,7 +3288,7 @@ namespace ts {
32883288
case SyntaxKind.DeleteKeyword:
32893289
case SyntaxKind.TypeOfKeyword:
32903290
case SyntaxKind.VoidKeyword:
3291-
return false
3291+
return false;
32923292
case SyntaxKind.LessThanToken:
32933293
// If we are not in JSX context, we are parsing TypeAssertion which is an UnaryExpression
32943294
if (sourceFile.languageVariant !== LanguageVariant.JSX) {

src/compiler/types.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ namespace ts {
708708
export interface UnaryExpression extends Expression {
709709
_unaryExpressionBrand: any;
710710
}
711-
711+
712712
export interface IncrementExpression extends UnaryExpression {
713713
_incrementExpressionBrand: any;
714714
}

0 commit comments

Comments
 (0)