Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 28aab32

Browse files
mpiniarskiFloEdelmann
andauthored
Update lib/rules/define-props-declaration.js
Co-authored-by: Flo Edelmann <git@flo-edelmann.de>
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

Lines changed: 1 addition & 1 deletion
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)

AltStyle によって変換されたページ (->オリジナル) /