Skip to content

Commit

Permalink
feat: add i18ntranslation type and import fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rubiin committed Sep 19, 2023
1 parent 0efe9a9 commit 075026c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "nestjs-i18n",
"version": "10.3.2",
"version": "10.3.4",
"homepage": "https://nestjs-i18n.com",
"description": "The i18n module for Nest.",
"author": "Toon van Strijp",
Expand Down
5 changes: 2 additions & 3 deletions src/index.ts
Expand Up @@ -40,9 +40,8 @@ export * from './pipes/i18n-validation.pipe';
export {
i18nValidationErrorFactory,
i18nValidationMessage,
} from './utils/util';

export { getContextObject } from './utils/context';
getContextObject,
} from './utils';

// types
export { Path, PathValue } from './types';
3 changes: 1 addition & 2 deletions src/interceptors/i18n-language.interceptor.ts
Expand Up @@ -15,10 +15,9 @@ import {
} from '../index';
import { I18nService } from '../services/i18n.service';
import { ModuleRef } from '@nestjs/core';
import { shouldResolve } from '../utils/util';
import { shouldResolve, getContextObject } from '../utils';
import { I18nOptionResolver } from '../interfaces/i18n-options.interface';
import { Observable } from 'rxjs';
import { getContextObject } from '../utils/context';

@Injectable()
export class I18nLanguageInterceptor implements NestInterceptor {
Expand Down
1 change: 0 additions & 1 deletion src/utils/index.ts
Expand Up @@ -2,5 +2,4 @@ export * from './context';
export * from './file';
export * from './format';
export * from './merge';
export * from './typescript';
export * from './util';

0 comments on commit 075026c

Please sign in to comment.