We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2b61c6 commit e79e660Copy full SHA for e79e660
libs/transloco/src/lib/transloco.loader.ts
@@ -5,8 +5,8 @@ import { Translation } from './types';
5
6
export interface TranslocoLoader {
7
getTranslation(
8
- lang: string,
9
- data?: TranslocoLoaderData
+ lang: string | any,
+ data?: TranslocoLoaderData,
10
): Observable<Translation> | Promise<Translation>;
11
}
12
@@ -23,5 +23,5 @@ export class DefaultLoader implements TranslocoLoader {
23
24
25
export const TRANSLOCO_LOADER = new InjectionToken<TranslocoLoader>(
26
- 'TRANSLOCO_LOADER'
+ 'TRANSLOCO_LOADER',
27
);
0 commit comments