angular-cn/modules/@angular/router/src/private_export.ts

24 lines
565 B
TypeScript

/**
* @license
* Copyright Google Inc. 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.io/license
*/
import {ROUTES} from './router_config_loader';
import {ROUTER_PROVIDERS} from './router_module';
import {flatten} from './utils/collection';
export const __router_private__: {
ROUTER_PROVIDERS: typeof ROUTER_PROVIDERS,
ROUTES: typeof ROUTES,
flatten: typeof flatten,
} = {
ROUTER_PROVIDERS: ROUTER_PROVIDERS,
ROUTES: ROUTES,
flatten: flatten,
};