/
githubmirror
/
angular
Обзор
Документация
Войти
/
githubmirror
/
angular
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
packages/router/test/default_export_routes.ts
18 строк
460 B
Andrew Kushnir
refactor(router): switching to relative imports within the `router` package (#60557)
01 апр 2025, 17:54
01 апр 2025, 17:54
6d3f575
Код
Авторство
О чём код?
/** * @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} from '@angular/core'; import {Routes} from '../index'; @Component({ template: 'default exported', selector: 'test-route', }) export class TestRoute {} export default [{path: '', pathMatch: 'full', component: TestRoute}] as Routes;