File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import type { InjectionKey } from 'vue'
22import type { Cons } from '../component'
33import type { OptionBuilder } from '../optionBuilder'
44import { obtainSlot , optoinNullableMemberDecorator } from '../utils'
5- import { compatibleMemberDecorator } from '../deco3/utils'
5+
66export interface InjectConfig {
77 from ?: string | symbol | Symbol | InjectionKey < any >
88 default ?: any
Original file line number Diff line number Diff line change 11import type { Cons } from '../component'
22import type { OptionBuilder } from '../optionBuilder'
33import { obtainSlot , optoinNullableMemberDecorator } from '../utils'
4- import { compatibleMemberDecorator } from '../deco3/utils'
4+
55export interface PropsConfig {
66 type ?: any
77 required ?: boolean
Original file line number Diff line number Diff line change 11import { obtainSlot , optoinNullableMemberDecorator } from '../utils'
2- import { compatibleMemberDecorator } from '../deco3/utils'
2+
33export const decorator = optoinNullableMemberDecorator ( function ( proto : any , name : string ) {
44 const slot = obtainSlot ( proto )
55 const map = slot . obtainMap ( 'vanilla' )
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import type { Cons } from '../component'
22import type { OptionBuilder } from '../optionBuilder'
33import { obtainSlot , optoinNullableMemberDecorator } from '../utils'
44import { decorator as PropsDecorator , type PropsConfig } from './props'
5- import { compatibleMemberDecorator } from '../deco3/utils'
5+
66export type VModelConfig = PropsConfig & {
77 name ?: string
88}
You can’t perform that action at this time.
0 commit comments