Fix typo
This commit is contained in:
parent
b689c07820
commit
1ed987152f
1 changed files with 2 additions and 2 deletions
|
@ -130,7 +130,7 @@ namespace ts {
|
|||
let classifiableNames: Map<string>;
|
||||
|
||||
const unreachableFlow: FlowNode = { kind: FlowKind.Unreachable };
|
||||
const reportedUncreachableFlow: FlowNode = { kind: FlowKind.Unreachable };
|
||||
const reportedUnreachableFlow: FlowNode = { kind: FlowKind.Unreachable };
|
||||
|
||||
function bindSourceFile(f: SourceFile, opts: CompilerOptions) {
|
||||
file = f;
|
||||
|
@ -2067,7 +2067,7 @@ namespace ts {
|
|||
(node.kind === SyntaxKind.EnumDeclaration && (!isConstEnumDeclaration(node) || options.preserveConstEnums));
|
||||
|
||||
if (reportError) {
|
||||
currentFlow = reportedUncreachableFlow;
|
||||
currentFlow = reportedUnreachableFlow;
|
||||
|
||||
// unreachable code is reported if
|
||||
// - user has explicitly asked about it AND
|
||||
|
|
Loading…
Reference in a new issue