Skip to content

Commit

Permalink
(chore) import type, add copyright headers
Browse files Browse the repository at this point in the history
  • Loading branch information
dmichon-msft committed May 18, 2023
1 parent 8c155d3 commit b67eb49
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
4 changes: 3 additions & 1 deletion heft-plugins/heft-typescript-plugin/src/TranspilerWorker.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import { parentPort, workerData } from 'node:worker_threads';

import * as TTypescript from 'typescript';
import type * as TTypescript from 'typescript';
import type {
ITranspilationErrorMessage,
ITranspilationRequestMessage,
Expand Down
5 changes: 3 additions & 2 deletions heft-plugins/heft-typescript-plugin/src/TypeScriptBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@

import * as crypto from 'crypto';
import * as path from 'path';
import { Worker } from 'worker_threads';

import * as semver from 'semver';
import * as TTypescript from 'typescript';
import type * as TTypescript from 'typescript';
import {
type ITerminal,
JsonFile,
Expand All @@ -26,7 +28,6 @@ import type {
ITypescriptWorkerData
} from './types';
import { configureProgramForMultiEmit } from './configureProgramForMultiEmit';
import { Worker } from 'worker_threads';

export interface ITypeScriptBuilderConfiguration extends ITypeScriptConfigurationJson {
/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import type * as TTypescript from 'typescript';
import { InternalError } from '@rushstack/node-core-library';

Expand Down
2 changes: 2 additions & 0 deletions heft-plugins/heft-typescript-plugin/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
import type * as TTypescript from 'typescript';

export interface ITypescriptWorkerData {
Expand Down

0 comments on commit b67eb49

Please sign in to comment.