arethetypeswrong / arethetypeswrong.github.io

Tool for analyzing TypeScript types of npm packages
https://arethetypeswrong.github.io
MIT License
1.12k stars 38 forks source link

Can it fail if no types are found? #182

Open bennycode opened 2 months ago

bennycode commented 2 months ago

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:

{
  "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?