|
@@ -1,6 +1,5 @@
|
|
|
// 全局要用的类型放到这里
|
|
|
import { ObjectDirective } from 'vue'
|
|
|
-import { FormatType } from './directives/format'
|
|
|
|
|
|
declare global {
|
|
|
type IResData<T> = {
|
|
@@ -19,10 +18,4 @@ declare global {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-declare module '@vue/runtime-core' {
|
|
|
- interface ComponentCustomProperties {
|
|
|
- vFormat: (el: HTMLElement, { value }: DirectiveBinding<FormatType>) => void
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
export {} // 防止模块污染
|