Skip to content

Commit

Permalink
refactor(language-service): suppress inline TCB required diagnostic f…
Browse files Browse the repository at this point in the history
…or syncs (#58619)

The NG8900 diagnostic is a non-actionable error code that does not affect
the build result of a component.

PR Close #58619
  • Loading branch information
clydin authored and thePunderWoman committed Nov 13, 2024
1 parent e26797b commit 87dc500
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/language-service/src/language_service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ const enableG3Suppression = false;
// See `angular2/copy.bara.sky` for more information.
const suppressDiagnosticsInG3: number[] = [
parseInt(`-99${ErrorCode.COMPONENT_RESOURCE_NOT_FOUND}`),
parseInt(`-99${ErrorCode.INLINE_TCB_REQUIRED}`),
];

export class LanguageService {
Expand Down

0 comments on commit 87dc500

Please sign in to comment.