Skip to content

Commit e939c6f

Browse files
golok727dummdidumm
andauthored
fix: update parameter structure for UnsupportedSignatureParameterKind (#16)
* fix: update parameter structure for UnsupportedSignatureParameterKind * Update src/index.ts --------- Co-authored-by: Simon H <[email protected]>
1 parent 1f06249 commit e939c6f

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)