Skip to content

Commit af24ddf

Browse files
author
anh.pham
committed
refactor(devs-infra): adjust import type path from ts-jest
1 parent cc6ce3f commit af24ddf

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/compiler/ng-jest-compiler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import type { TsJestAstTransformer } from 'ts-jest';
12
import { TsCompiler } from 'ts-jest/dist/legacy/compiler/ts-compiler';
23
import { ConfigSet } from 'ts-jest/dist/legacy/config/config-set';
3-
import type { TsJestAstTransformer } from 'ts-jest/dist/types';
44
import type * as ts from 'typescript';
55

66
import { constructorParametersDownlevelTransform } from '../transformers/downlevel-ctor';

src/ng-jest-transformer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import { spawnSync } from 'child_process';
22

33
import type { TransformedSource } from '@jest/transform';
44
import { LogContexts, LogLevels, type Logger, createLogger } from 'bs-logger';
5+
import type { ProjectConfigTsJest, TransformOptionsTsJest } from 'ts-jest';
56
import { ConfigSet } from 'ts-jest/dist/legacy/config/config-set';
67
import { TsJestTransformer } from 'ts-jest/dist/legacy/ts-jest-transformer';
7-
import type { ProjectConfigTsJest, TransformOptionsTsJest } from 'ts-jest/dist/types';
88

99
import { NgJestCompiler } from './compiler/ng-jest-compiler';
1010
import { NgJestConfig } from './config/ng-jest-config';

src/transformers/replace-resources.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8-
import type { TsCompilerInstance } from 'ts-jest/dist/types';
8+
import type { TsCompilerInstance } from 'ts-jest';
99
import ts from 'typescript';
1010

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

0 commit comments

Comments
 (0)