commercetools / commercetools/nodejs
Typescript with SdkAuth
Open
- Dominant language
- JavaScript
- Stars
- 77
- Forks
- 70
- PR merge metrics
- No merged PRs in 30d
Description
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](https://github.com/commercetools/nodejs/blob/tutorials-graphql-typescript-sdk/docs/sdk/api/sdkAuth.md) is like this yet it doesn't work:
```js
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!
Contributor guide
Assessment
This issue has not been assessed yet.