[ESLint Plugin] Check if the correct type definitions file is shipped #13224
Labels
eslint plugin
help wanted
This issue is tracking work for which community contributions would be welcomed and appreciated
Shipped files should be listed in the
files
field inpackage.json
but sometimes there're not listed correctly causing the actual type definition file to not be included in the released package which will block TypeScript customers from using the package. To fix this, we can update the ts-package-json-files-required rule that already enforces various parts that list to also check for the type definition file. The type definition file path has to be exactly the same in three different places:Code pointers for anyone wanting to fix this:
The text was updated successfully, but these errors were encountered: