We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ef809f4 + f271411 commit d04cfe6Copy full SHA for d04cfe6
src/localize-router.config.ts
@@ -1,4 +1,5 @@
1
import { Inject, InjectionToken, Provider } from '@angular/core';
2
+import { Routes } from '@angular/router';
3
import { LocalizeRouterModule } from './localize-router.module';
4
5
/**
@@ -11,7 +12,7 @@ export const LOCALIZE_ROUTER_FORROOT_GUARD = new InjectionToken<LocalizeRouterMo
11
12
* Static provider for keeping track of routes
13
* @type {InjectionToken<Routes[]>}
14
*/
-export const RAW_ROUTES = new InjectionToken('RAW_ROUTES');
15
+export const RAW_ROUTES: InjectionToken<Routes[]> = new InjectionToken<Routes[]>('RAW_ROUTES');
16
17
18
* Type for Caching of default language
0 commit comments