Skip to content

fs: change default value of position in read and readSync

Since the docs mention that position in read and readSync should be an integer or a bigint, the functions should rather accept what is actually fed into read, i.e., -1 instead of any nullish value.

Merge request reports

Loading