Skip to content

Commit 28aab32

Browse files
Update lib/rules/define-props-declaration.js
Co-authored-by: Flo Edelmann <[email protected]>
1 parent d08bed1 commit 28aab32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rules/define-props-declaration.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const mapNativeType = (/** @type {string} */ nativeType) => {
2424
return 'any[]'
2525
}
2626
case 'Function': {
27-
return '() => void'
27+
return '(...args: any[]) => any'
2828
}
2929
case 'Symbol': {
3030
return 'symbol'

0 commit comments

Comments
 (0)