UNPKG
dum-ui-plus
Version:
latest (1.0.33)
1.0.33
1.0.32
1.0.31
1.0.2
1.0.1
1.0.0
Vue3 中基于Element-plus二次封装基础组件文档
wocwin.github.io/t-ui-plus/
wocwin/t-ui-plus
dum-ui-plus
/
lib
/
withInstall.d.ts
5 lines
(4 loc)
•
205 B
TypeScript
View Raw
1
2
3
4
5
import
{
Plugin
}
from
'vue'
;
type
SFCWithInstall
<T> = T &
Plugin
;
export
declare
const
withInstall
: <T, E
extends
Record
<
string
,
any
>>
(
main
: T,
extra
?: E |
undefined
) =>
SFCWithInstall
<T> & E;
export
{};