Preparing search index...
The search index is not available
Houston Common Library
Houston Common Library
@45drives/houston-common-ui
EmitsToProps
Type alias EmitsToProps<T>
Emits
To
Props
<
T
extends
EmitsOptions
>
:
T
extends
string
[]
?
{
[
K
in
`
on
${
Capitalize
<
T
[
number
]
>
}
`
]
?:
(
(
...
args
:
any
[]
)
=>
any
)
}
:
T
extends
ObjectEmitsOptions
?
{
[
K
in
`
on
${
Capitalize
<
string
&
keyof
T
>
}
`
]
?:
K
extends
`
on
${
infer
C
}
`
?
(
(
...
args
:
T
[
Uncapitalize
<
C
>
]
extends
(
(
...
args
:
infer
P
)
=>
any
)
?
P
:
T
[
Uncapitalize
<
C
>
]
extends
null
?
any
[]
:
never
)
=>
any
)
:
never
}
:
{}
Type Parameters
T
extends
EmitsOptions
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Official Cockpit API Documentation
Houston Common Library
Loading...