Skip to content

Commit 5b20bab

Browse files
JeanMechethePunderWoman
authored andcommitted
feat(compiler): Add Skip Hydration diagnostic. (#59576)
The diagnostic was created in #49512 but was never added to the list of diagnostic that run. fixes #59569 PR Close #59576
1 parent be32d63 commit 5b20bab

File tree

1 file changed

+2
-0
lines changed
  • packages/compiler-cli/src/ngtsc/typecheck/extended

1 file changed

+2
-0
lines changed

packages/compiler-cli/src/ngtsc/typecheck/extended/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import {factory as suffixNotSupportedFactory} from './checks/suffix_not_supporte
1919
import {factory as textAttributeNotBindingFactory} from './checks/text_attribute_not_binding';
2020
import {factory as uninvokedFunctionInEventBindingFactory} from './checks/uninvoked_function_in_event_binding';
2121
import {factory as unusedLetDeclarationFactory} from './checks/unused_let_declaration';
22+
import {factory as skipHydrationNotStaticFactory} from './checks/skip_hydration_not_static';
2223

2324
export {ExtendedTemplateCheckerImpl} from './src/extended_template_checker';
2425

@@ -36,6 +37,7 @@ export const ALL_DIAGNOSTIC_FACTORIES: readonly TemplateCheckFactory<
3637
interpolatedSignalNotInvoked,
3738
uninvokedFunctionInEventBindingFactory,
3839
unusedLetDeclarationFactory,
40+
skipHydrationNotStaticFactory,
3941
];
4042

4143
export const SUPPORTED_DIAGNOSTIC_NAMES = new Set<string>([

0 commit comments

Comments
 (0)