diff --git a/doc/api/http2.md b/doc/api/http2.md index ea09de3431bc17..9bd9374f3045b5 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -2288,7 +2288,7 @@ Throws `ERR_HTTP2_INVALID_SETTING_VALUE` for invalid `settings` values. Throws `ERR_INVALID_ARG_TYPE` for invalid `settings` argument. -### `http2.createServer(options[, onRequestHandler])` +### `http2.createServer([options][, onRequestHandler])`