Skip to content

Commit

Permalink
fix(module: LocaleProvider): export LOCAL_PROVIDER_TOKEN (NG-ZORRO#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
fisherspy committed Nov 2, 2018
1 parent 64ae36b commit 16922a2
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions components/ng-zorro-antd-mobile.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ export { SwipeActionModule } from './swipe-action/swipe-action.module';
export { PullToRefreshModule } from './pull-to-refresh/pull-to-refresh.module';
export { LocaleProviderModule } from './locale-provider/locale-provider.module';
export { LocaleProviderService } from './locale-provider/locale-provider.service';
export { LOCAL_PROVIDER_TOKEN } from './locale-provider/locale-provider.token';
export { LocaleProviderPipe } from './locale-provider/locale-provider.pipe';
export * from './locale-provider/languages';

Expand Down Expand Up @@ -171,11 +172,7 @@ export class NgZorroAntdMobileModule {
static forRoot(): ModuleWithProviders {
return {
ngModule: NgZorroAntdMobileModule,
providers: [
ActionSheet,
Toast,
Modal
]
providers: [ActionSheet, Toast, Modal]
};
}
}

0 comments on commit 16922a2

Please sign in to comment.