Skip to content

Commit

Permalink
chore: ignore typescript errors for not finding peerDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed Apr 26, 2024
1 parent 5ed088f commit 8bf01be
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/credential-provider-ini/src/loadSts.ts
@@ -1,5 +1,7 @@
// @ts-expect-error Cannot find module '@aws-sdk/client-sts'
import { getDefaultRoleAssumer } from "@aws-sdk/client-sts";

// This file must be loaded dynamically.
export { getDefaultRoleAssumer };
// @ts-expect-error Cannot find module '@aws-sdk/client-sts'
export type { STSClientConfig } from "@aws-sdk/client-sts";
2 changes: 2 additions & 0 deletions packages/credential-provider-web-identity/src/loadSts.ts
@@ -1,5 +1,7 @@
// @ts-expect-error Cannot find module '@aws-sdk/client-sts'
import { getDefaultRoleAssumerWithWebIdentity } from "@aws-sdk/client-sts";

// This file must be loaded dynamically.
export { getDefaultRoleAssumerWithWebIdentity };
// @ts-expect-error Cannot find module '@aws-sdk/client-sts'
export type { STSClientConfig } from "@aws-sdk/client-sts";
1 change: 1 addition & 0 deletions packages/credential-providers/src/loadSts.ts
@@ -1,3 +1,4 @@
// @ts-expect-error Cannot find module '@aws-sdk/client-sts'
import { AssumeRoleCommand, STSClient } from "@aws-sdk/client-sts";

// This file must be loaded dynamically.
Expand Down
1 change: 1 addition & 0 deletions packages/token-providers/src/loadSsoOidc.ts
@@ -1,3 +1,4 @@
// @ts-expect-error Cannot find module '@aws-sdk/client-sso-oidc'
import { CreateTokenCommand, SSOOIDCClient } from "@aws-sdk/client-sso-oidc";

// This file must be loaded dynamically.
Expand Down

0 comments on commit 8bf01be

Please sign in to comment.