nestjs-i18n
Version:
The i18n module for Nest.
8 lines (7 loc) • 320 B
TypeScript
import { I18nTranslation } from '../interfaces';
import { Observable } from 'rxjs';
export declare abstract class I18nLoader {
abstract languages(): Promise<string[] | Observable<string[]>>;
abstract load(): Promise<I18nTranslation | Observable<I18nTranslation>>;
onModuleDestroy?(): Promise<void> | void;
}