You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: