We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import chokidar from "chokidar"; chokidar.watch("src").on('change', (path) => { // ^ this is any for me in v4 });
v3 types have implements fs.FSWatcher on FSWatcher which made things better typed it seems
implements fs.FSWatcher
FSWatcher
The text was updated successfully, but these errors were encountered:
We probably shouldn't just mimick FSWatcher again but should strongly type our event handlers
I don't think we have many, so it should be easy to do
Sorry, something went wrong.
FYI: @types/node recently added generics to EventEmitter
@types/node
7958696
Successfully merging a pull request may close this issue.
v3 types have
implements fs.FSWatcher
onFSWatcher
which made things better typed it seemsThe text was updated successfully, but these errors were encountered: