Typescript with SdkAuth
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- typescript
- 领域
- api
调研方向
从导入 @commercetools/sdk-auth 开始,并将 docs/sdk/api/sdkAuth.md 中的 TypeScript 示例与报告的声明文件错误进行比较。当文档中的 TypeScript 导入无需该错误即可正常工作,并且该包可用的类型清晰明确时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
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!
- 主要语言
- JavaScript
- 星标
- 78
- 派生
- 70
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
commercetools/nodejs 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 35/100
commercetools/nodejs#1901 ·
-
难度 2/5 1-3 小时 新手友好度 45/100
commercetools/nodejs#1895 · 1 条评论 ·
-
难度 1/5 1-3 小时 新手友好度 55/100
commercetools/nodejs#1891 ·
-
难度 5/5 一周以上 新手友好度 20/100
commercetools/nodejs#1889 ·
-
难度 3/5 1-2 天 新手友好度 35/100
commercetools/nodejs#1884 · 4 个 reaction ·
查看 commercetools/nodejs 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
openlibhums/janeway#5604 ·
维护者通常 1 天内回复
-
[BUG] Generic OSC does not initialize OSC client on startup when "Listen for Feedback" is disabled未关闭
难度 2/5 1-3 小时 新手友好度 86/100
-
area/statement-execution TS conversion
难度 2/5 1-3 小时 新手友好度 76/100
scylladb/nodejs-rs-driver#584 ·
维护者通常 2 天内回复
-
documentation good first issue help wanted
难度 1/5 1-3 小时 新手友好度 92/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 69/100
维护者通常 3 天内回复