Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typescript with SdkAuth #1778

Open
aholland909 opened this issue Mar 10, 2022 · 0 comments
Open

Typescript with SdkAuth #1778

aholland909 opened this issue Mar 10, 2022 · 0 comments

Comments

@aholland909
Copy link

Can the sdk-auth package be used in typescipt and are there types for it?

I get an error 'Could not find a declaration file for module '@commercetools/sdk-auth' when trying to import it:

The example is like this yet it doesn't work:

import SdkAuth from "@commercetools/sdk-auth"

But it is possble to use the sdk-auth in common js #1541

Any help would be much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant