doc: return type is number
https://github.com/nodejs/node/blob/88ef086e39cd055a1cdc6720981f50e4791fb90f/test/parallel/test-http2-session-stream-state.js#L22-L23
Type of localClose
and remoteClose
are number
, so I think 1
is valid instead of true
.
Checklist
-
documentation is changed or added -
commit message follows commit guidelines