Skip to content

Add TypeScript declaration file #606

Open
@robinloeffel

Description

@robinloeffel

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.

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions