/
githubmirror
/
angular
Обзор
Документация
Войти
/
githubmirror
/
angular
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
packages/router/testing/src/testing.ts
26 строк
1 KB
Andrew Kushnir
refactor(router): re-export the `RouterTestingModule` symbols (#60557)
01 апр 2025, 17:54
01 апр 2025, 17:54
d025f37
Код
Авторство
О чём код?
/** * @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 */ /** * @module * @description * Entry point for all public APIs of the router/testing package. */ export * from './router_testing_module'; export {RouterTestingHarness} from './router_testing_harness'; // Re-export the symbols that are exposed by the `RouterTestingModule` (which re-exports // the symbols from the `RouterModule`). Re-exports are needed for the Angular compiler // to overcome its limitation (on the consumer side) of not knowing where to import import // symbols when relative imports are used within the package. // Note: These exports need to be stable and shouldn't be renamed unnecessarily because // consuming libraries might have references to them in their own partial compilation output. export {RouterOutlet as ɵɵRouterOutlet} from '../../src/directives/router_outlet'; export {RouterLink as ɵɵRouterLink} from '../../src/directives/router_link'; export {RouterLinkActive as ɵɵRouterLinkActive} from '../../src/directives/router_link_active'; export {EmptyOutletComponent as ɵɵEmptyOutletComponent} from '../../src/components/empty_outlet';