Skip to content

Commit e096e77

Browse files
committed
code fixes
1 parent c5a609d commit e096e77

File tree

30 files changed

+76
-58
lines changed

30 files changed

+76
-58
lines changed

packages/@aws-cdk/tmp-toolkit-helpers/src/api/io/io-host.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { IoMessage, IoRequest } from './io-message';
1+
import type { IoMessage, IoRequest } from './io-message';
22

33
export interface IIoHost {
44
/**

packages/@aws-cdk/tmp-toolkit-helpers/src/api/io/io-message.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ToolkitAction } from './toolkit-action';
1+
import type { ToolkitAction } from './toolkit-action';
22

33
/**
44
* The reporting level of the message.

packages/@aws-cdk/tmp-toolkit-helpers/src/api/io/private/action-aware.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { IIoHost } from '../io-host';
2-
import { IoMessage, IoRequest } from '../io-message';
3-
import { ToolkitAction } from '../toolkit-action';
1+
import type { IIoHost } from '../io-host';
2+
import type { IoMessage, IoRequest } from '../io-message';
3+
import type { ToolkitAction } from '../toolkit-action';
44

55
export type Optional<T, K extends keyof T> = Pick<Partial<T>, K> & Omit<T, K>;
66
export type SimplifiedMessage<T> = Pick<IoMessage<T>, 'level' | 'code' | 'message' | 'data'>;

packages/@aws-cdk/tmp-toolkit-helpers/src/api/io/private/message-maker.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { IoMessageCode, IoMessageLevel } from '../io-message';
2-
import { ActionLessMessage, ActionLessRequest } from './action-aware';
1+
import type { IoMessageCode, IoMessageLevel } from '../io-message';
2+
import type { ActionLessMessage, ActionLessRequest } from './action-aware';
33

44
/**
55
* Information for each IO Message Code.

packages/@aws-cdk/tmp-toolkit-helpers/src/util/objects.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { isArray, isObject, Obj } from './types';
1+
import type { Obj } from './types';
2+
import { isArray, isObject } from './types';
23
import { ToolkitError } from '../api/toolkit-error';
34

45
/**

packages/@aws-cdk/tmp-toolkit-helpers/src/util/yaml-cfn.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as yaml from 'yaml';
2-
import * as yaml_cst from 'yaml/parse-cst';
2+
import type * as yaml_cst from 'yaml/parse-cst';
33
import * as yaml_types from 'yaml/types';
44

55
/**

packages/@aws-cdk/toolkit-lib/lib/actions/bootstrap/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as cxapi from '@aws-cdk/cx-api';
1+
import type * as cxapi from '@aws-cdk/cx-api';
22
import { environmentsFromDescriptors } from './private';
33
import type { Tag } from '../../api/aws-cdk';
44
import type { ICloudAssemblySource } from '../../api/cloud-assembly';

packages/@aws-cdk/toolkit-lib/lib/actions/bootstrap/private/helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as cxapi from '@aws-cdk/cx-api';
1+
import type * as cxapi from '@aws-cdk/cx-api';
22
import { ToolkitError } from '../../../api/shared-public';
33

44
/**

packages/@aws-cdk/toolkit-lib/lib/actions/deploy/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { CloudFormationStackArtifact } from '@aws-cdk/cx-api';
1+
import type { CloudFormationStackArtifact } from '@aws-cdk/cx-api';
22
import type { BaseDeployOptions } from './private/deploy-options';
33
import type { Tag } from '../../api/aws-cdk';
44

packages/@aws-cdk/toolkit-lib/lib/actions/deploy/private/deploy-options.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { DeploymentMethod, DeployOptions, HotswapMode } from '..';
1+
import type { DeploymentMethod, DeployOptions, HotswapMode } from '..';
22
import type { CloudWatchLogEventMonitor } from '../../../api/aws-cdk';
33
import type { StackSelector } from '../../../api/cloud-assembly';
44

0 commit comments

Comments
 (0)