File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8564,12 +8564,12 @@ namespace ts {
85648564 case SyntaxKind.SetAccessor:
85658565 // A method or accessor declaration decorator will have two or three arguments (see
85668566 // `PropertyDecorator` and `MethodDecorator` in core.d.ts)
8567-
8567+
85688568 // If we are emitting decorators for ES3, we will only pass two arguments.
85698569 if (languageVersion === ScriptTarget.ES3) {
85708570 return 2;
85718571 }
8572-
8572+
85738573 // If the method decorator signature only accepts a target and a key, we will only
85748574 // type check those arguments.
85758575 return signature.parameters.length >= 3 ? 3 : 2;
Original file line number Diff line number Diff line change @@ -301,7 +301,7 @@ namespace ts {
301301 sourceFile . fileWatcher . close ( ) ;
302302 sourceFile . fileWatcher = undefined ;
303303 if ( removed ) {
304- var index = rootFileNames . indexOf ( sourceFile . fileName ) ;
304+ let index = rootFileNames . indexOf ( sourceFile . fileName ) ;
305305 if ( index >= 0 ) {
306306 rootFileNames . splice ( index , 1 ) ;
307307 }
You can’t perform that action at this time.
0 commit comments