From d7b1fe8e11d5353fb9a0f99f3bc2c8b1fc0963b9 Mon Sep 17 00:00:00 2001 From: Shotaro Nakamura <79000684+nakasyou@users.noreply.github.com> Date: Tue, 27 Feb 2024 12:15:30 +0900 Subject: [PATCH] fix(types): fix comment (#2278) `c.jsonT` is removed --- deno_dist/types.ts | 2 +- src/types.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deno_dist/types.ts b/deno_dist/types.ts index 2664f4b73..04ab5e553 100644 --- a/deno_dist/types.ts +++ b/deno_dist/types.ts @@ -1671,7 +1671,7 @@ export type MergePath = A extends '' export type TypedResponse = { data: T - format: 'json' // Currently, support only `json` with `c.jsonT()` + format: 'json' // Currently, support only `json` with `c.json()` } type ExtractResponseData = T extends Promise diff --git a/src/types.ts b/src/types.ts index f6cb67bf6..ee7b515aa 100644 --- a/src/types.ts +++ b/src/types.ts @@ -1671,7 +1671,7 @@ export type MergePath = A extends '' export type TypedResponse = { data: T - format: 'json' // Currently, support only `json` with `c.jsonT()` + format: 'json' // Currently, support only `json` with `c.json()` } type ExtractResponseData = T extends Promise