diff --git a/packages/compiler-cli/src/ngtsc/scope/src/util.ts b/packages/compiler-cli/src/ngtsc/scope/src/util.ts index 911cc0aba83..051e501bcca 100644 --- a/packages/compiler-cli/src/ngtsc/scope/src/util.ts +++ b/packages/compiler-cli/src/ngtsc/scope/src/util.ts @@ -31,7 +31,7 @@ export function makeNotStandaloneDiagnostic( let message = `The ${kind} '${ ref.node.name - .text}' appears in 'imports', but is not standalone and cannot be imported directly`; + .text}' appears in 'imports', but is not standalone and cannot be imported directly.`; let relatedInformation: ts.DiagnosticRelatedInformation[]|undefined = undefined; if (scope !== null && scope.kind === ComponentScopeKind.NgModule) { // The directive/pipe in question is declared in an NgModule. Check if it's also exported.