From 8bcbfe05610ce04061b8f7a72c5babadd59ad542 Mon Sep 17 00:00:00 2001 From: Pete Bacon Darwin Date: Sat, 8 May 2021 09:10:05 +0100 Subject: [PATCH] refactor(compiler-cli): remove unused import (#42000) The `makeDiagnostic()` function is not used in this file. PR Close #42000 --- packages/compiler-cli/src/ngtsc/annotations/src/component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/compiler-cli/src/ngtsc/annotations/src/component.ts b/packages/compiler-cli/src/ngtsc/annotations/src/component.ts index d9b673bcc5..c68e9ce977 100644 --- a/packages/compiler-cli/src/ngtsc/annotations/src/component.ts +++ b/packages/compiler-cli/src/ngtsc/annotations/src/component.ts @@ -10,7 +10,7 @@ import {compileClassMetadata, compileComponentFromMetadata, compileDeclareClassM import * as ts from 'typescript'; import {Cycle, CycleAnalyzer, CycleHandlingStrategy} from '../../cycles'; -import {ErrorCode, FatalDiagnosticError, makeDiagnostic, makeRelatedInformation} from '../../diagnostics'; +import {ErrorCode, FatalDiagnosticError, makeRelatedInformation} from '../../diagnostics'; import {absoluteFrom, relative} from '../../file_system'; import {ImportedFile, ModuleResolver, Reference, ReferenceEmitter} from '../../imports'; import {DependencyTracker} from '../../incremental/api';