Skip to content

Commit

Permalink
chore: fix redundant
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Jan 18, 2023
1 parent 462d973 commit b4a59ed
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {Rule, SchematicContext, Tree} from '@angular-devkit/schematics';
import {updateWorkspace} from '@schematics/angular/utility/workspace';
import {getPackageJsonDependency, getSourceFiles} from 'ng-morph';

import {tuiIsString} from '../../../../utils';
import {tuiIsString} from '../../../../utils/miscellaneous/is-string';
import {TuiSchema} from '../../../ng-add/schema';
import {isInvalidAngularJson} from '../../../utils/angular-json-manipulations';
import {getProjectTargetOptions} from '../../../utils/get-project-target-options';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {getWorkspace, updateWorkspace} from '@schematics/angular/utility/workspa
import {addPackageJsonDependency} from 'ng-morph';

import {ALWAYS_FALSE_HANDLER, ALWAYS_TRUE_HANDLER} from '../../constants';
import {tuiIsString} from '../../utils';
import {tuiIsString} from '../../utils/miscellaneous/is-string';
import {TAIGA_VERSION} from '../ng-add/constants/versions';
import {TuiSchema} from '../ng-add/schema';
import {Asset} from '../ng-update/interfaces/asset';
Expand Down
2 changes: 1 addition & 1 deletion projects/cdk/utils/miscellaneous/is-object.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function tuiIsObject<T extends Record<any, any> | Record<string, any>>(
export function tuiIsObject<T extends Record<string, any>>(
value: unknown,
): value is NonNullable<T> {
// eslint-disable-next-line @taiga-ui/no-typeof
Expand Down
3 changes: 2 additions & 1 deletion projects/testing/cypress/snapshot/command.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/// <reference types="cypress" />
import {tuiIsObject, tuiIsString} from '@taiga-ui/cdk';
// eslint-disable-next-line @taiga-ui/no-deep-imports
import {tuiIsObject, tuiIsString} from '@taiga-ui/cdk/utils/miscellaneous';
import {Options} from 'cypress-image-snapshot';
import {matchImageSnapshotCommand} from 'cypress-image-snapshot/command';

Expand Down

0 comments on commit b4a59ed

Please sign in to comment.