diff --git a/doc/api/http2.md b/doc/api/http2.md index 0da93a540eccca..2a7311c73f6f8c 100644 --- a/doc/api/http2.md +++ b/doc/api/http2.md @@ -2343,7 +2343,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])`