mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Fix lint
This commit is contained in:
@@ -18,7 +18,6 @@ import {
|
||||
GeneratedIdentifierFlags,
|
||||
getEmitFlags,
|
||||
getEmitModuleKind,
|
||||
getEmitScriptTarget,
|
||||
getExternalHelpersModuleName,
|
||||
getExternalModuleNameLiteral,
|
||||
getIsolatedModules,
|
||||
@@ -46,7 +45,6 @@ import {
|
||||
NodeId,
|
||||
rangeContainsRange,
|
||||
rewriteModuleSpecifier,
|
||||
ScriptTarget,
|
||||
setOriginalNode,
|
||||
setTextRange,
|
||||
shouldRewriteModuleSpecifier,
|
||||
@@ -72,7 +70,6 @@ export function transformECMAScriptModule(context: TransformationContext): (x: S
|
||||
const host = context.getEmitHost();
|
||||
const resolver = context.getEmitResolver();
|
||||
const compilerOptions = context.getCompilerOptions();
|
||||
const languageVersion = getEmitScriptTarget(compilerOptions);
|
||||
const previousOnEmitNode = context.onEmitNode;
|
||||
const previousOnSubstituteNode = context.onSubstituteNode;
|
||||
context.onEmitNode = onEmitNode;
|
||||
|
||||
@@ -5,7 +5,6 @@ import {
|
||||
addRange,
|
||||
append,
|
||||
arrayFrom,
|
||||
ArrowFunction,
|
||||
BinaryExpression,
|
||||
BindingElement,
|
||||
Block,
|
||||
@@ -39,7 +38,6 @@ import {
|
||||
ForOfStatement,
|
||||
ForStatement,
|
||||
FunctionDeclaration,
|
||||
FunctionExpression,
|
||||
GeneratedIdentifierFlags,
|
||||
getEmitFlags,
|
||||
getEmitModuleKind,
|
||||
|
||||
Reference in New Issue
Block a user