From 958a2d61af59711ffbde43f52d4c8f1f42635b6f Mon Sep 17 00:00:00 2001 From: Misato Date: Fri, 15 Aug 2025 23:19:31 +0900 Subject: [PATCH] Fix return type --- packages/types/tailor.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/types/tailor.d.ts b/packages/types/tailor.d.ts index 3c7ba8a..89a725f 100644 --- a/packages/types/tailor.d.ts +++ b/packages/types/tailor.d.ts @@ -77,8 +77,8 @@ declare namespace tailor.iconv { */ function decode( buffer: Uint8Array | ArrayBuffer, - encoding: T - ): T extends 'UTF8' | 'UTF-8' ? string : Uint8Array; + encoding: string + ): string; /** * Encode string to buffer