All files / nestjs-i18n/dist i18n.module.d.ts

0% Statements 0/0
0% Branches 0/0
0% Functions 0/0
0% Lines 0/0

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17                                 
import { DynamicModule, MiddlewareConsumer, NestModule } from '@nestjs/common';
import { I18nAsyncOptions, I18nOptions } from './interfaces/i18n-options.interface';
import { HttpAdapterHost, ModuleRef } from '@nestjs/core';
export declare class I18nModule implements NestModule {
    private readonly httpAdapterHost;
    private readonly moduleRef;
    constructor(httpAdapterHost: HttpAdapterHost, moduleRef: ModuleRef);
    configure(consumer: MiddlewareConsumer): MiddlewareConsumer | void;
    static forRoot(options: I18nOptions): DynamicModule;
    static forRootAsync(options: I18nAsyncOptions): DynamicModule;
    private static createAsyncOptionsProvider;
    private static createAsyncTranslationProvider;
    private static createAsyncLanguagesProvider;
    private static sanitizeI18nOptions;
    private static createResolverProviders;
}