Skip to content

Commit abd8fa9

Browse files
committed
Update JSDoc to include missing params
1 parent d4dcd11 commit abd8fa9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

templates/node/http/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
* @param {object} context.headers the HTTP request headers
1414
* @param {string} context.method the HTTP request method
1515
* @param {string} context.httpVersion the HTTP protocol version
16+
* @param {string} context.httpVersionMajor the HTTP major version number
17+
* @param {string} context.httpVersionMinor the HTTP minor version number
1618
* See: https://github.com/knative/func/blob/main/docs/function-developers/nodejs.md#the-context-object
1719
*/
1820
const handle = async (context, body) => {

0 commit comments

Comments
 (0)