Skip to content

Commit 115d3e7

Browse files
committed
fix: update parameter structure for UnsupportedSignatureParameterKind
1 parent db3f698 commit 115d3e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1301,7 +1301,7 @@ export function tsPlugin(options?: {
13011301
) {
13021302
this.raise(
13031303
pattern.start,
1304-
TypeScriptError.UnsupportedSignatureParameterKind(pattern.type)
1304+
TypeScriptError.UnsupportedSignatureParameterKind({type: pattern.type})
13051305
);
13061306
}
13071307
return pattern as any;

0 commit comments

Comments
 (0)