Skip to content

Commit ab73b4f

Browse files
committed
Fix linter warnings.
1 parent 64b6c9f commit ab73b4f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/compiler/emitter.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4787,7 +4787,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, Promi
47874787
// - node has a name
47884788
// - this is default export and target is not ES6 (for ES6 `export default` does not need to be compiled downlevel)
47894789
// - this is default export with static initializers
4790-
if ((node.name || (node.flags & NodeFlags.Default && (languageVersion < ScriptTarget.ES6
4790+
if ((node.name || (node.flags & NodeFlags.Default && (languageVersion < ScriptTarget.ES6
47914791
|| staticProperties.length > 0))) && !thisNodeIsDecorated) {
47924792
write(" ");
47934793
emitDeclarationName(node);
@@ -5647,8 +5647,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, Promi
56475647
}
56485648

56495649
/*
5650-
* Some bundlers (SystemJS builder) sometimes want to rename dependencies.
5651-
* Here we check if alternative name was provided for a given moduleName and return it if possible.
5650+
* Some bundlers (SystemJS builder) sometimes want to rename dependencies.
5651+
* Here we check if alternative name was provided for a given moduleName and return it if possible.
56525652
*/
56535653
function tryRenameExternalModule(moduleName: LiteralExpression): string {
56545654
if (currentSourceFile.renamedDependencies && hasProperty(currentSourceFile.renamedDependencies, moduleName.text)) {
@@ -7076,7 +7076,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, Promi
70767076
return shouldEmitEnumDeclaration(<EnumDeclaration>node);
70777077
}
70787078

7079-
// If the node is emitted in specialized fashion, dont emit comments as this node will handle
7079+
// If the node is emitted in specialized fashion, dont emit comments as this node will handle
70807080
// emitting comments when emitting itself
70817081
Debug.assert(!isSpecializedCommentHandling(node));
70827082

0 commit comments

Comments
 (0)