mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Removed the default standalone true flag from all the component, directive and pipes PR Close #58922
20 lines
519 B
TypeScript
20 lines
519 B
TypeScript
/**
|
|
* @license
|
|
* Copyright Google LLC All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.dev/license
|
|
*/
|
|
|
|
import {Component, inject} from '@angular/core';
|
|
import {Router, RouterOutlet} from '@angular/router';
|
|
|
|
@Component({
|
|
selector: 'app-root',
|
|
templateUrl: './app.component.html',
|
|
styleUrls: ['./app.component.scss'],
|
|
imports: [RouterOutlet],
|
|
})
|
|
export class AppComponent {
|
|
readonly router = inject(Router);
|
|
}
|