Skip to content

Commit

Permalink
refactor(devs-infra): adjust import type path from ts-jest
Browse files Browse the repository at this point in the history
  • Loading branch information
anh.pham committed May 10, 2022
1 parent cc6ce3f commit af24ddf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/compiler/ng-jest-compiler.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { TsJestAstTransformer } from 'ts-jest';
import { TsCompiler } from 'ts-jest/dist/legacy/compiler/ts-compiler';
import { ConfigSet } from 'ts-jest/dist/legacy/config/config-set';
import type { TsJestAstTransformer } from 'ts-jest/dist/types';
import type * as ts from 'typescript';

import { constructorParametersDownlevelTransform } from '../transformers/downlevel-ctor';
Expand Down
2 changes: 1 addition & 1 deletion src/ng-jest-transformer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { spawnSync } from 'child_process';

import type { TransformedSource } from '@jest/transform';
import { LogContexts, LogLevels, type Logger, createLogger } from 'bs-logger';
import type { ProjectConfigTsJest, TransformOptionsTsJest } from 'ts-jest';
import { ConfigSet } from 'ts-jest/dist/legacy/config/config-set';
import { TsJestTransformer } from 'ts-jest/dist/legacy/ts-jest-transformer';
import type { ProjectConfigTsJest, TransformOptionsTsJest } from 'ts-jest/dist/types';

import { NgJestCompiler } from './compiler/ng-jest-compiler';
import { NgJestConfig } from './config/ng-jest-config';
Expand Down
2 changes: 1 addition & 1 deletion src/transformers/replace-resources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import type { TsCompilerInstance } from 'ts-jest/dist/types';
import type { TsCompilerInstance } from 'ts-jest';
import ts from 'typescript';

import { STYLES, STYLE_URLS, TEMPLATE_URL, TEMPLATE, REQUIRE, COMPONENT } from '../constants';
Expand Down

0 comments on commit af24ddf

Please sign in to comment.