soldair / node-walkdir

Walk a directory tree emitting events based on the contents. API compatable with node-findit. Walk a tree of any depth. Fast! Handles permission errors. Stoppable. windows support. Pull requests are awesome. watchers are appreciated.
MIT License
130 stars 22 forks source link

Fix types for walk.sync(dir, cb) #39

Closed paulmelnikow closed 5 years ago

paulmelnikow commented 5 years ago

Hi! Thanks for the library.

This call signature is documented and is working. I updated the types to reflect it.

soldair commented 5 years ago

this looks great thanks for the fix. ~ill need to make ts integration tests at some point to avoid this in the future.~ i see the integration test has been updated and also looks great =)

soldair commented 5 years ago

published in 1.4.1