Skip to content

Commit fb7ead6

Browse files
committed
fix(package): return back required exports
1 parent e0dd631 commit fb7ead6

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
```typescript
3434

35-
import { I18NextModule } from 'i18next';
35+
import { I18NextModule } from 'angular-i18next';
3636

3737
@NgModule({
3838
bootstrap: [ AppComponent ],
@@ -49,6 +49,8 @@ export class AppModule {}
4949
**3.** Inject I18NextService to AppComponent and call "init" method (with prefered [options]( http://i18next.com/docs/options/#init-options)). Or use more [advanced initialization](#initialize-i18next-before-angular-application).
5050
```typescript
5151

52+
import { I18NextService } from 'angular-i18next';
53+
5254
export class AppComponent {
5355

5456
constructor(private i18NextService: I18NextService) {

src/index.ts

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
export * from './I18NEXT_TOKENS';
2+
export * from './I18NextPipe';
3+
export * from './I18NextCapPipe';
4+
export * from './I18NextService';
5+
export * from './I18NextTitle';
6+
17
import { NgModule, ModuleWithProviders } from '@angular/core';
28
import { Title } from '@angular/platform-browser';
39
import { I18NEXT_NAMESPACE, I18NEXT_SCOPE } from './I18NEXT_TOKENS';

0 commit comments

Comments
 (0)