Open
Description
Description
I'm working on a build tooling in which I want to be able to call lint-staged programmatically (i.e. as shown in the README FAQ). However, upon trying out the example in TypeScript I get the error Could not find a declaration file for module 'lint-staged'.
Upon installing @types/lint-staged
I still recieve an error because the DefinitelyTyped package doesn't include the correct types.
Steps to reproduce
Add the lint-staged
dependency to a TypeScript project, attempt to import the CLI and run it as a function.
Metadata
Metadata
Assignees
Labels
No labels
Activity