diff --git a/types/hapi/index.d.ts b/types/hapi/index.d.ts index f14730e202..0b69be69c0 100644 --- a/types/hapi/index.d.ts +++ b/types/hapi/index.d.ts @@ -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) */ diff --git a/types/hapi/v17/index.d.ts b/types/hapi/v17/index.d.ts index d3262f5285..831cdfbf13 100644 --- a/types/hapi/v17/index.d.ts +++ b/types/hapi/v17/index.d.ts @@ -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) */ diff --git a/types/hapi__hapi/index.d.ts b/types/hapi__hapi/index.d.ts index d382fafb64..ea2ab63e54 100644 --- a/types/hapi__hapi/index.d.ts +++ b/types/hapi__hapi/index.d.ts @@ -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) */