We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d08bed1 commit 28aab32Copy full SHA for 28aab32
lib/rules/define-props-declaration.js
@@ -24,7 +24,7 @@ const mapNativeType = (/** @type {string} */ nativeType) => {
24
return 'any[]'
25
}
26
case 'Function': {
27
- return '() => void'
+ return '(...args: any[]) => any'
28
29
case 'Symbol': {
30
return 'symbol'
0 commit comments