diff --git a/src/compiler/binder.ts b/src/compiler/binder.ts index 802bf6df358..e839d6d6c9a 100644 --- a/src/compiler/binder.ts +++ b/src/compiler/binder.ts @@ -490,7 +490,7 @@ namespace ts { if (stat.kind === SyntaxKind.ExportDeclaration || stat.kind === SyntaxKind.ExportAssignment) { return true; } - }; + } } return false; } diff --git a/src/compiler/emitter.ts b/src/compiler/emitter.ts index 69f8c25a147..70d7ef60472 100644 --- a/src/compiler/emitter.ts +++ b/src/compiler/emitter.ts @@ -9,9 +9,9 @@ namespace ts { // Flags enum to track count of temp variables and a few dedicated names const enum TempFlags { - Auto = 0x00000000, // No preferred name + Auto = 0x00000000, // No preferred name CountMask = 0x0FFFFFFF, // Temp variable counter - _i = 0x10000000, // Use/preference flag for '_i' + _i = 0x10000000, // Use/preference flag for '_i' } // targetSourceFile is when users only want one file in entire project to be emitted. This is used in compileOnSave feature