apollographql / apollographql/fullstack-tutorial
Types mismatch: ApolloClient
未关闭
- 主要语言
- TypeScript
- 星标
- 1.2k
- 派生
- 808
- PR 合并指标
- 30 天内没有已合并 PR
描述
I set isInCart is Boolean and I try to return some value is string type in this function. It work. I think should be show some error because type mismatch


贡献指南
这个仓库没有索引到贡献指南
调研方向
定位教程应用中 ApolloClient 的使用位置和 isInCart 的定义,以截图作为起始线索。复现报告的 Boolean/string 不匹配,并找到相关的类型检查命令或测试;完成后应使预期的类型行为明确且可验证。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- graphql, react, typescript
- 领域
- api, frontend
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100