Skip to content

Commit 14c9153

Browse files
authored
✂️ feat: prune types ts (#65)
1 parent 7a2d94b commit 14c9153

File tree

2 files changed

+0
-33
lines changed

2 files changed

+0
-33
lines changed

.eslintrc-auto-import-costom.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/types/index.d.ts

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -69,31 +69,4 @@ declare module 'vue-router' {
6969
}
7070
}
7171

72-
declare global {
73-
interface RenderComponent {
74-
data?: any
75-
component?: any
76-
}
77-
type ComponentOriginOptions = {
78-
title: string
79-
headerDescText?: string
80-
headerIcon?: string
81-
confirmText?: string
82-
maxHeight?: number | string | 'auto'
83-
dialogWidth?: string | '500px'
84-
disabledConfirmButton?: boolean | false
85-
hideFooter?: boolean | false
86-
renderComponent: RenderComponent
87-
onConfirm?: (instance: any, context: any) => Promise<any>
88-
// onCancel?: (instance: Ref<null>, context: ComponentInternalInstance) => Promise<any>
89-
}
90-
91-
type Mutable = {
92-
-readonly [K in keyof DialogProps]: DialogProps[K]
93-
}
94-
95-
type PropsOptionsUnion = ComponentOriginOptions | Mutable
96-
type PropsOptionsMixed = Partial<ComponentOriginOptions & Mutable>
97-
98-
}
9972
export { }

0 commit comments

Comments
 (0)