From 404fe3d224e5c430a11a81d127297b56c34841d7 Mon Sep 17 00:00:00 2001 From: sid <48153483+siddsriv@users.noreply.github.com> Date: Thu, 21 Mar 2024 13:00:06 -0400 Subject: [PATCH] chore(ec2-metadata-service): rename options file to include in dist-types (#5931) * chore(ec2-metadata-service): rename options file to include in dist-types * chore(ec2-metadata-service): delete .d.ts options file * chore(ec2-metadata-service): correct type for disableFetchToken --- .../{MetadataServiceOptions.d.ts => MetadataServiceOptions.ts} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename packages/ec2-metadata-service/src/{MetadataServiceOptions.d.ts => MetadataServiceOptions.ts} (95%) diff --git a/packages/ec2-metadata-service/src/MetadataServiceOptions.d.ts b/packages/ec2-metadata-service/src/MetadataServiceOptions.ts similarity index 95% rename from packages/ec2-metadata-service/src/MetadataServiceOptions.d.ts rename to packages/ec2-metadata-service/src/MetadataServiceOptions.ts index 49659abc34bb..b13e4ab35c86 100644 --- a/packages/ec2-metadata-service/src/MetadataServiceOptions.d.ts +++ b/packages/ec2-metadata-service/src/MetadataServiceOptions.ts @@ -26,5 +26,5 @@ export interface MetadataServiceOptions { /** * when true, metadata service will not fetch token, which indicates usage of IMDSv1 */ - disableFetchToken?: false; + disableFetchToken?: boolean; }