We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 396de8a commit b548026Copy full SHA for b548026
src/install.ts
@@ -3,11 +3,11 @@ import type { App, Component } from 'vue-demi'
3
import component from './component'
4
import type { Mode } from './component'
5
6
-const globalProps: Record<string | symbol, any> = {}
7
-const globalAttrs: Record<string | symbol, any> = {}
+const globalProps: Record<keyof any, any> = {}
+const globalAttrs: Record<keyof any, any> = {}
8
9
type SFCWithInstall = Component & {
10
- install: (app: App, options?: Record<string | symbol, any>) => void
+ install: (app: App, options?: Record<keyof any, any>) => void
11
}
12
13
function withInstall(sfc: Component): SFCWithInstall {
0 commit comments