chore: import fixes

This commit is contained in:
07akioni 2021-05-19 01:48:38 +08:00
parent 2247a5fbde
commit 7e9784a6d3
3 changed files with 8 additions and 12 deletions

View File

@ -43,8 +43,8 @@ const inputProps = {
default: undefined
},
type: {
type: String as PropType<'text' | 'textarea'>,
default: 'text'
type: String as PropType<'input' | 'textarea'>,
default: 'input'
},
placeholder: [Array, String] as PropType<string | [string, string]>,
defaultValue: {

View File

@ -1,5 +1,4 @@
import { Ref } from '@vue/reactivity'
import { InjectionKey } from 'vue'
import { Ref, InjectionKey } from 'vue'
import type { MergedTheme } from '../../_mixins'
import type { PopselectTheme } from '../styles'
@ -11,6 +10,5 @@ export interface PopselectInjection {
syncPosition: () => void
}
export const popselectInjectionKey: InjectionKey<PopselectInjection> = Symbol(
'popselect'
)
export const popselectInjectionKey: InjectionKey<PopselectInjection> =
Symbol('popselect')

View File

@ -1,5 +1,4 @@
import { Ref } from '@vue/reactivity'
import { InjectionKey } from '@vue/runtime-core'
import { Ref, InjectionKey } from 'vue'
import type { MergedTheme } from '../../_mixins'
import type { UploadTheme } from '../styles'
@ -59,9 +58,8 @@ export interface UploadInjection {
doChange: DoChange
}
export const uploadInjectionKey: InjectionKey<UploadInjection> = Symbol(
'upload'
)
export const uploadInjectionKey: InjectionKey<UploadInjection> =
Symbol('upload')
export interface XhrHandlers {
handleXHRLoad: (e: ProgressEvent) => void