arethetypeswrong / arethetypeswrong/arethetypeswrong.github.io

Can it fail if no types are found?

未关闭
#182 0 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
1.6k
派生
65
PR 合并指标
30 天内没有已合并 PR

描述

As a library author I very much like `attw` as it allows me to check if my "main" entry point is correct. However, I noticed that the `attw` CLI doesn't fail if no types are found at all. It simply states:

```bash
{
"packageName": "trading212-api",
"packageVersion": "1.0.2",
"types": false
}
```

Is there the possibility to make `attw` fail also when there are no types at all?

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先重现 trading212-api 显示的 attw CLI 结果,其中 JSON 报告 "types": false。追踪此结果在何处被转换为 CLI 结果,并检查其他失败情况是如何处理的。完成标准是:找不到任何类型时 CLI 失败,同时保留报告的结果。

由索引模型根据 Issue 内容生成。

评估

技术栈
typescript
领域
cli
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。