angular/packages/router/test/default_export_routes.ts
Andrew Kushnir 6d3f5752f2 refactor(router): switching to relative imports within the router package (#60557)
This commit updates scripts within `packages/router` to relative imports as a prep work to the upcoming infra updates.

PR Close #60557
2025-04-01 14:54:05 +00:00

18 lines
460 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} 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;