Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
a-tarasyuk committed Nov 14, 2022
1 parent fd18728 commit 9f7d90d
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
9 changes: 4 additions & 5 deletions src/compiler/factory/nodeFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,10 @@ import {
WhileStatement, WithStatement, YieldExpression,
} from "../types";
import {
findUseStrictPrologue,
getEmitFlags, getTextOfIdentifierOrLiteral, hasInvalidEscape, hasStaticModifier, hasSyntacticModifier,
isCustomPrologue, isHoistedFunction, isHoistedVariableStatement, isLogicalOrCoalescingAssignmentOperator, isOuterExpression, isPrologueDirective,
isSuperProperty, isThisIdentifier, modifiersToFlags, Mutable, nodeIsSynthesized, objectAllocator, pseudoBigIntToString,
setEachParent, setParent, setTextRangePosEnd, setTextRangePosWidth, skipOuterExpressions, skipParentheses,
findUseStrictPrologue, getEmitFlags, getTextOfIdentifierOrLiteral, hasInvalidEscape, hasStaticModifier, hasSyntacticModifier,
isCustomPrologue, isHoistedFunction, isHoistedVariableStatement, isLogicalOrCoalescingAssignmentOperator, isOuterExpression,
isPrologueDirective, isSuperProperty, isThisIdentifier, modifiersToFlags, Mutable, nodeIsSynthesized, objectAllocator,
pseudoBigIntToString, setEachParent, setParent, setTextRangePosEnd, setTextRangePosWidth, skipOuterExpressions, skipParentheses,
} from "../utilities";
import {
escapeLeadingUnderscores, getNameOfDeclaration, idText, isAssignmentPattern, isCallChain, isElementAccessChain,
Expand Down
4 changes: 2 additions & 2 deletions src/compiler/utilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ import {
getJSDocTypeParameterTagsNoCache, getJSDocTypeTag, getNameOfDeclaration, getParseTreeNode, hasInitializer, hasJSDocNodes, idText,
isAccessor, isBindingPattern, isClassElement, isClassLike, isDeclaration, isFunctionLike, isFunctionLikeDeclaration,
isFunctionLikeOrClassStaticBlockDeclaration, isJSDocLinkLike, isJSDocNode, isJSDocPropertyLikeTag, isJSDocTag, isJsxChild,
isJsxOpeningLikeElement, isLeftHandSideExpression, isMemberName, isMethodOrAccessor, isNamedDeclaration, isParameterPropertyDeclaration,
isPropertyName, isStringLiteralLike, isTypeElement, isTypeNode, unescapeLeadingUnderscores,
isJsxOpeningLikeElement, isLeftHandSideExpression, isMemberName, isMethodOrAccessor, isNamedDeclaration,
isParameterPropertyDeclaration, isPropertyName, isStringLiteralLike, isTypeElement, isTypeNode, unescapeLeadingUnderscores,
} from "./utilitiesPublic";

/** @internal */
Expand Down
15 changes: 8 additions & 7 deletions src/services/utilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,14 @@ import {
SourceFileLike, SpreadElement, StringLiteral, StringLiteralLike, Symbol, SymbolAccessibility, SymbolFlags, SymbolFormatFlags,
SymbolTracker, SyntaxKind, SyntaxList, TaggedTemplateExpression, TemplateExpression, TemplateLiteralToken, TemplateSpan,
TextRange, TextSpan, Token, TransientSymbol, Type, TypeChecker, TypeFormatFlags, TypeNode, TypeOfExpression, TypeQueryNode,
UserPreferences, VariableDeclaration, VoidExpression, YieldExpression, ParameterDeclaration, PropertySignature, PropertyDeclaration, NamedDeclaration, ForInOrOfStatement,
UserPreferences, VariableDeclaration, VoidExpression, YieldExpression, ParameterDeclaration, PropertySignature, PropertyDeclaration,
NamedDeclaration, ForInOrOfStatement,
} from "../compiler/types";
import {
createRange, defaultMaximumTruncationLength, directoryProbablyExists, ensureScriptKind, escapeString, formatStringFromArgs,
getAssignmentDeclarationKind, getEmitScriptTarget, getExternalModuleImportEqualsDeclarationExpression, getIndentString,
getLastChild, getLeadingCommentRangesOfNode, getLocaleSpecificMessage, getRootDeclaration, getSourceFileOfNode, getSpanOfTokenAtPosition,
getTextOfIdentifierOrLiteral, getTextOfNode, hasSyntacticModifier, identifierIsThisKeyword, indexOfNode,
getLastChild, getLeadingCommentRangesOfNode, getLocaleSpecificMessage, getRootDeclaration, getSourceFileOfNode,
getSpanOfTokenAtPosition, getTextOfIdentifierOrLiteral, getTextOfNode, hasSyntacticModifier, identifierIsThisKeyword, indexOfNode,
isAmbientModule, isAnyImportSyntax, isDeclarationName, isExpressionNode, isExternalModuleImportEqualsDeclaration,
isFileLevelUniqueName, isFunctionBlock, isGlobalScopeAugmentation, isImportCall, isInJSFile, isInternalModuleImportEqualsDeclaration,
isJSDocTypeAlias, isKeyword, isLet, isPartOfTypeNode, isPropertyNameLiteral, isRequireCall, isRequireVariableStatement,
Expand All @@ -75,10 +76,10 @@ import {
getJSDocReturnType,
getJSDocType,
getNameOfDeclaration, idText, isBreakOrContinueStatement, isCallOrNewExpression, isDeclaration, isEntityName,
isExpression, isForInOrOfStatement, isFunctionLike, isFunctionLikeDeclaration, isImportOrExportSpecifier, isJSDocCommentContainingNode, isJSDocLinkLike, isJSDocTag,
isJsxOpeningLikeElement, isModifier, isNamedDeclaration, isOptionalChain, isOptionalChainRoot, isStringLiteralLike,
isStringTextContainingNode, isTemplateLiteralKind, isToken, isTypeElement, isTypeNode, textSpanContainsPosition,
textSpanContainsTextSpan, textSpanEnd, unescapeLeadingUnderscores,
isExpression, isForInOrOfStatement, isFunctionLike, isFunctionLikeDeclaration, isImportOrExportSpecifier,
isJSDocCommentContainingNode, isJSDocLinkLike, isJSDocTag, isJsxOpeningLikeElement, isModifier, isNamedDeclaration,
isOptionalChain, isOptionalChainRoot, isStringLiteralLike, isStringTextContainingNode, isTemplateLiteralKind, isToken,
isTypeElement, isTypeNode, textSpanContainsPosition, textSpanContainsTextSpan, textSpanEnd, unescapeLeadingUnderscores,
} from "../compiler/utilitiesPublic";
import { visitEachChild } from "../compiler/visitorPublic";
import { moduleSymbolToValidIdentifier } from "./codefixes/importAdder";
Expand Down
2 changes: 1 addition & 1 deletion src/tsconfig-base.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"sourceMap": true,
"composite": true,
"noEmitOnError": true,
"emitDeclarationOnly": false, // DO NOT COMMIT
"emitDeclarationOnly": true,

"strictNullChecks": true,
"noImplicitAny": true,
Expand Down

0 comments on commit 9f7d90d

Please sign in to comment.