nz-i18n.token.d.ts 665 B

12345678910
  1. /**
  2. * Use of this source code is governed by an MIT-style license that can be
  3. * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
  4. */
  5. import { InjectionToken, EnvironmentProviders } from '@angular/core';
  6. import { NzI18nInterface } from './nz-i18n.interface';
  7. export declare const NZ_I18N: InjectionToken<NzI18nInterface>;
  8. export declare function provideNzI18n(config: NzI18nInterface): EnvironmentProviders;
  9. /** Locale for date operations, should import from date-fns, see example: https://github.com/date-fns/date-fns/blob/v1.30.1/src/locale/zh_cn/index.js */
  10. export declare const NZ_DATE_LOCALE: InjectionToken<Locale>;