File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 31
31
},
32
32
"./*" : " ./*" ,
33
33
"./volar" : " ./dist/volar.d.ts" ,
34
- "./style" : " ./dist/es/style .css"
34
+ "./style" : " ./dist/es/styles .css"
35
35
},
36
36
"main" : " dist/lib/index.js" ,
37
37
"module" : " dist/es/index.js" ,
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ import { createInstaller } from './utils/installer'
4
4
export * from './components'
5
5
export * from './resolver'
6
6
7
- export const install = createInstaller ( components )
7
+ const installer = createInstaller ( components )
8
8
9
- export default install
9
+ export const install = installer . install
10
+
11
+ export default installer
Original file line number Diff line number Diff line change 1
1
import { installWithSFC } from '../utils'
2
2
import SayHello from './SayHello.vue'
3
3
4
+ export type SayHelloInstance = InstanceType < typeof SayHello >
5
+
4
6
export const StSayHello = installWithSFC ( SayHello )
5
7
6
8
export default StSayHello
You can’t perform that action at this time.
0 commit comments