From 683acf2d3449b7155c005bd0a4a144976ac00778 Mon Sep 17 00:00:00 2001 From: Alexander Zeitler Date: Fri, 26 Apr 2019 20:10:15 +0200 Subject: [PATCH] fix hapi response code function docs (#35012) * fix hapi response code function docs * fix $param to be @param --- types/hapi/index.d.ts | 4 ++-- types/hapi/v17/index.d.ts | 4 ++-- types/hapi__hapi/index.d.ts | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) 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) */