mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-09 04:31:35 +08:00
chore: import fixes
This commit is contained in:
parent
2247a5fbde
commit
7e9784a6d3
@ -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: {
|
||||
|
@ -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')
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user