Skip to content

Commit 0ff2e01

Browse files
committed
Import type
1 parent 3405415 commit 0ff2e01

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/commands/ingress/tryConfigureIngressUsingDockerfile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import { AzExtFsExtra } from '@microsoft/vscode-azext-utils';
77
import { ext } from '../../extensionVariables';
88
import { localize } from '../../utils/localize';
9-
import { IngressContext } from './IngressContext';
9+
import type { IngressContext } from './IngressContext';
1010
import { getDefaultPort } from './editTargetPort/getDefaultPort';
1111

1212
export async function tryConfigureIngressUsingDockerfile(context: IngressContext): Promise<void> {

test/ingress/MockIngressContext.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6-
import { PortRange } from "../../extension.bundle";
6+
import type { PortRange } from "../../extension.bundle";
77

88
export interface MockIngressContext {
99
containerApp?: { configuration: { ingress: { targetPort: number } } };

test/ingress/getDefaultPort.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import * as assert from "assert";
77
import { IngressContext, PortRange, getDefaultPort } from "../../extension.bundle";
8-
import { MockIngressContext } from "./MockIngressContext";
8+
import type { MockIngressContext } from "./MockIngressContext";
99

1010
suite('getDefaultPort', async () => {
1111
test('correctly suggests when provided detected expose ports and no existing container app port', async () => {

test/ingress/tryConfigureIngressUsingDockerfile.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { AzExtFsExtra } from "@microsoft/vscode-azext-utils";
77
import * as assert from "assert";
88
import * as path from "path";
99
import { IngressContext, PortRange, getDockerfileExposePort, tryConfigureIngressUsingDockerfile } from "../../extension.bundle";
10-
import { MockIngressContext } from "./MockIngressContext";
10+
import type { MockIngressContext } from "./MockIngressContext";
1111

1212
suite('tryConfigureIngressUsingDockerfile', async () => {
1313
test('self', async () => {

0 commit comments

Comments
 (0)