refactor(components): [input] extract InputInstance (#13620)

This commit is contained in:
btea
2023-07-18 17:37:21 +08:00
committed by GitHub
parent 499934c249
commit 8fc38655b0
2 changed files with 4 additions and 2 deletions

View File

@@ -6,5 +6,4 @@ export const ElInput = withInstall(Input)
export default ElInput
export * from './src/input'
export type InputInstance = InstanceType<typeof Input>
export type { InputInstance } from './src/instance'

View File

@@ -0,0 +1,3 @@
import type Input from './input.vue'
export type InputInstance = InstanceType<typeof Input>