MCPcopy Create free account
hub / github.com/angular/angular / Test

Class Test

packages/core/test/application_init_spec.ts:342–348  ·  view source on GitHub ↗

* Typing tests.

Source from the content-addressed store, hash-verified

340 */
341
342@Component({
343 template: '',
344 // @ts-expect-error: `provideAppInitializer()` should not work with Component.providers, as it
345 // wouldn't be executed anyway.
346 providers: [provideAppInitializer(() => {})],
347})
348class Test {}

Callers

nothing calls this directly

Calls 2

ComponentInterface · 0.90
provideAppInitializerFunction · 0.90

Tested by

no test coverage detected