github / github/eslint-plugin-github
Add TypeScript declaration file
未关闭
- 主要语言
- JavaScript
- 星标
- 336
- 派生
- 67
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 6
描述
In order to make the TypeScript language server see what actually is inside `eslint-plugin-github`, and to correctly suggest `github.getFlatConfigs`, I would like to request the addition of a declaration file.
```console
Could not find a declaration file for module 'eslint-plugin-github'. '/Users/robin/Sites/eslint-config-sweet/node_modules/eslint-plugin-github/lib/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/eslint-plugin-github` if it exists or add a new declaration (.d.ts) file containing `declare module 'eslint-plugin-github';`ts(7016)
```
贡献指南
评估
这个 Issue 还没有评估数据。