mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 00:07:07 +00:00
fix hapi response code function docs (#35012)
* fix hapi response code function docs * fix $param to be @param
This commit is contained in:
committed by
Pranav Senthilnathan
parent
c96320313a
commit
683acf2d34
Vendored
+2
-2
@@ -739,8 +739,8 @@ export interface ResponseObject extends Podium {
|
||||
charset(charset: string): ResponseObject;
|
||||
|
||||
/**
|
||||
* Sets the 'Content-Type' HTTP header 'charset' property where:
|
||||
* $param charset - the charset property value.
|
||||
* Sets the HTTP status code where:
|
||||
* @param statusCode - the HTTP status code (e.g. 200).
|
||||
* @return Return value: the current response object.
|
||||
* [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-responsecodestatuscode)
|
||||
*/
|
||||
|
||||
Vendored
+2
-2
@@ -737,8 +737,8 @@ export interface ResponseObject extends Podium {
|
||||
charset(charset: string): ResponseObject;
|
||||
|
||||
/**
|
||||
* Sets the 'Content-Type' HTTP header 'charset' property where:
|
||||
* $param charset - the charset property value.
|
||||
* Sets the HTTP status code where:
|
||||
* @param statusCode - the HTTP status code (e.g. 200).
|
||||
* @return Return value: the current response object.
|
||||
* [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-responsecodestatuscode)
|
||||
*/
|
||||
|
||||
Vendored
+2
-2
@@ -740,8 +740,8 @@ export interface ResponseObject extends Podium {
|
||||
charset(charset: string): ResponseObject;
|
||||
|
||||
/**
|
||||
* Sets the 'Content-Type' HTTP header 'charset' property where:
|
||||
* $param charset - the charset property value.
|
||||
* Sets the HTTP status code where:
|
||||
* @param statusCode - the HTTP status code (e.g. 200).
|
||||
* @return Return value: the current response object.
|
||||
* [See docs](https://github.com/hapijs/hapi/blob/master/API.md#-responsecodestatuscode)
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user