We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9997aa1 commit 622e5b6Copy full SHA for 622e5b6
src/core.ts
@@ -68,3 +68,9 @@ export function createPermission(options: PermissionOptions = {}): Permission {
68
}
69
return permission
70
71
+
72
+declare module 'vue' {
73
+ interface ComponentCustomProperties {
74
+ $permission: Permission
75
+ }
76
+}
src/index.ts
@@ -1,12 +1,4 @@
1
-import type { Permission } from './core'
2
-
3
export * from './component'
4
export * from './core'
5
export * from './directive'
6
export * from './injection'
7
8
-declare module 'vue' {
9
- interface ComponentCustomProperties {
10
- $permission: Permission
11
- }
12
-}
0 commit comments