angular/devtools/src/app/app.component.ts

21 lines
519 B
TypeScript
Raw Normal View History

/**
* @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';
2020-01-27 18:40:18 +00:00
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss'],
imports: [RouterOutlet],
2020-01-27 18:40:18 +00:00
})
2021-02-07 13:15:42 +00:00
export class AppComponent {
readonly router = inject(Router);
2021-02-07 13:15:42 +00:00
}