Skip to content

Commit

Permalink
Cleaned imports
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeAndWeb committed Oct 1, 2024
1 parent 146140e commit 17e5c68
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {Injectable} from "@angular/core";
import {TranslateService, Translation} from "./translate.service";
import {Observable} from "rxjs";
import {TranslateService, Translation} from "./translate.service";

export interface MissingTranslationHandlerParams {
/**
Expand Down
2 changes: 1 addition & 1 deletion projects/ngx-translate/src/lib/translate.parser.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {Injectable} from "@angular/core";
import {getValue, isDefined, isString, isFunction} from "./util";
import {InterpolationParameters} from "./translate.service";
import {getValue, isDefined, isString, isFunction} from "./util";


export type InterpolateFunction = (params?: InterpolationParameters) => string;
Expand Down
3 changes: 1 addition & 2 deletions projects/ngx-translate/src/lib/translate.pipe.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {ChangeDetectorRef, Injectable, OnDestroy, Pipe, PipeTransform} from '@angular/core';
import {isObservable} from 'rxjs';
import {isObservable, Subscription} from 'rxjs';
import {
InterpolatableTranslationObject,
LangChangeEvent,
Expand All @@ -9,7 +9,6 @@ import {
InterpolationParameters
} from "./translate.service";
import {equals, isDefined, isDict, isString} from "./util";
import {Subscription} from 'rxjs';

@Injectable()
@Pipe({
Expand Down
1 change: 0 additions & 1 deletion projects/ngx-translate/src/lib/translate.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {MissingTranslationHandler, MissingTranslationHandlerParams} from "./miss
import {TranslateCompiler} from "./translate.compiler";
import {TranslateLoader} from "./translate.loader";
import {InterpolateFunction, TranslateParser} from "./translate.parser";

import {TranslateStore} from "./translate.store";
import {getValue, isDefined, isArray, isString, mergeDeep, setValue, isDict} from "./util";

Expand Down
3 changes: 2 additions & 1 deletion projects/ngx-translate/src/lib/translate.store.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {EventEmitter} from "@angular/core";
import {
DefaultLangChangeEvent, InterpolatableTranslationObject,
InterpolatableTranslationObject,
DefaultLangChangeEvent,
LangChangeEvent,
TranslationChangeEvent
} from "./translate.service";
Expand Down

0 comments on commit 17e5c68

Please sign in to comment.