angular/integration/injectable-def/src/app.ts
Matthieu Riegler e85021a7ba build: Migrate all integration tests with the schematic. (#58160)
All components, directives and pipes will now use standalone as default. Non-standalone decorators have now .

PR Close #58160
2024-10-14 14:58:58 +00:00

18 lines
472 B
TypeScript

import {Component, NgModule} from '@angular/core';
import {BrowserModule} from '@angular/platform-browser';
import {ServerModule} from '@angular/platform-server';
import {Lib2Module} from 'lib2_built';
@Component({
selector: 'test-app',
template: '<test-cmp></test-cmp>',
standalone: false,
})
export class TestApp {}
@NgModule({
declarations: [TestApp],
bootstrap: [TestApp],
imports: [Lib2Module, BrowserModule, ServerModule],
})
export class AppModule {}