Skip to content

Commit 7165749

Browse files
committed
lint: add type import declaration
1 parent 97f034a commit 7165749

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/aws-cdk-lib/aws-lambda/lib/capacity-provider.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
import { Construct } from 'constructs';
2-
import { Architecture } from './architecture';
3-
import { CfnCapacityProvider, CfnFunction } from './lambda.generated';
4-
import * as ec2 from '../../aws-ec2';
1+
import type { Construct } from 'constructs';
2+
import type { Architecture } from './architecture';
3+
import type { CfnCapacityProvider, CfnFunction } from './lambda.generated';
4+
import type * as ec2 from '../../aws-ec2';
55
import * as iam from '../../aws-iam';
66
import type * as kms from '../../aws-kms';
77
import type { IResource } from '../../core';
88
import { Annotations, Arn, ArnFormat, Resource, Stack, Token, ValidationError } from '../../core';
99
import { memoizedGetter } from '../../core/lib/helpers-internal';
1010
import { addConstructMetadata, MethodMetadata } from '../../core/lib/metadata-resource';
1111
import { propertyInjectable } from '../../core/lib/prop-injectable';
12-
import { CapacityProviderReference, ICapacityProviderRef, IFunctionRef } from '../../interfaces/generated/aws-lambda-interfaces.generated';
12+
import type { CapacityProviderReference, ICapacityProviderRef, IFunctionRef } from '../../interfaces/generated/aws-lambda-interfaces.generated';
1313

1414
/**
1515
* Represents a Lambda capacity provider.

0 commit comments

Comments
 (0)