From 115d3e7de8b0de1e399fb85e1438b2f9b303ce6b Mon Sep 17 00:00:00 2001 From: Aadi Date: Sat, 12 Jul 2025 15:03:28 +0530 Subject: [PATCH 1/2] fix: update parameter structure for UnsupportedSignatureParameterKind --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 2fb8d40..840af12 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1301,7 +1301,7 @@ export function tsPlugin(options?: { ) { this.raise( pattern.start, - TypeScriptError.UnsupportedSignatureParameterKind(pattern.type) + TypeScriptError.UnsupportedSignatureParameterKind({type: pattern.type}) ); } return pattern as any; From 39072706a645e94039d8bc3b794af91e0b6f25d3 Mon Sep 17 00:00:00 2001 From: Simon H <5968653+dummdidumm@users.noreply.github.com> Date: Fri, 26 Sep 2025 15:22:52 +0200 Subject: [PATCH 2/2] Update src/index.ts --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 840af12..ba01466 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1301,7 +1301,7 @@ export function tsPlugin(options?: { ) { this.raise( pattern.start, - TypeScriptError.UnsupportedSignatureParameterKind({type: pattern.type}) + TypeScriptError.UnsupportedSignatureParameterKind({ type: pattern.type }) ); } return pattern as any;