File tree Expand file tree Collapse file tree 4 files changed +10
-3
lines changed
heft-plugins/heft-typescript-plugin/src Expand file tree Collapse file tree 4 files changed +10
-3
lines changed Original file line number Diff line number Diff line change
1
+ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
2
+ // See LICENSE in the project root for license information.
1
3
import { parentPort , workerData } from 'node:worker_threads' ;
2
4
3
- import * as TTypescript from 'typescript' ;
5
+ import type * as TTypescript from 'typescript' ;
4
6
import type {
5
7
ITranspilationErrorMessage ,
6
8
ITranspilationRequestMessage ,
Original file line number Diff line number Diff line change 3
3
4
4
import * as crypto from 'crypto' ;
5
5
import * as path from 'path' ;
6
+ import { Worker } from 'worker_threads' ;
7
+
6
8
import * as semver from 'semver' ;
7
- import * as TTypescript from 'typescript' ;
9
+ import type * as TTypescript from 'typescript' ;
8
10
import {
9
11
type ITerminal ,
10
12
JsonFile ,
@@ -26,7 +28,6 @@ import type {
26
28
ITypescriptWorkerData
27
29
} from './types' ;
28
30
import { configureProgramForMultiEmit } from './configureProgramForMultiEmit' ;
29
- import { Worker } from 'worker_threads' ;
30
31
31
32
export interface ITypeScriptBuilderConfiguration extends ITypeScriptConfigurationJson {
32
33
/**
Original file line number Diff line number Diff line change
1
+ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
2
+ // See LICENSE in the project root for license information.
1
3
import type * as TTypescript from 'typescript' ;
2
4
import { InternalError } from '@rushstack/node-core-library' ;
3
5
Original file line number Diff line number Diff line change
1
+ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
2
+ // See LICENSE in the project root for license information.
1
3
import type * as TTypescript from 'typescript' ;
2
4
3
5
export interface ITypescriptWorkerData {
You can’t perform that action at this time.
0 commit comments