Skip to content

Commit

Permalink
Update lib/rules/define-props-declaration.js
Browse files Browse the repository at this point in the history
Co-authored-by: Flo Edelmann <[email protected]>
  • Loading branch information
mpiniarski and FloEdelmann authored Jun 21, 2024
1 parent d08bed1 commit 28aab32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rules/define-props-declaration.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const mapNativeType = (/** @type {string} */ nativeType) => {
return 'any[]'
}
case 'Function': {
return '() => void'
return '(...args: any[]) => any'
}
case 'Symbol': {
return 'symbol'
Expand Down

0 comments on commit 28aab32

Please sign in to comment.