-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issueHelp WantedYou can do thisYou can do this
Milestone
Description
const isNakedImport = SyntaxKind.ImportDeclaration && !(<ImportDeclaration>node).importClause;
Possibly missing node.kind ===
before SyntaxKind.ImportDeclaration
?
Noticed it when running uglifyjs lib/tsc.js -c
WARN: Condition left of && always true [lib/tsc.js:34409,48]
34409 var isNakedImport = 230 && !node.importClause;
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptFixedA PR has been merged for this issueA PR has been merged for this issueHelp WantedYou can do thisYou can do this