Skip to content

doc: fix `filename` type in `watch` result

By doc:

Providing filename argument in the callback is only supported on Linux, macOS, Windows, and AIX. Even on supported platforms, filename is not always guaranteed to be provided. Therefore, don't assume that filename argument is always provided in the callback, and have some fallback logic if it is null.

So I added null to type to do it more clearly

Merge request reports

Loading