mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
* Revert "fix(types): packing unexpected types (#19419)"
This reverts commit 13506ffb81.
* Revert "chore: add explicit type annoation (#19352)"
* fix(typescript): borken import paths in declaration files
* chore: emits smaller declaration files
24 lines
864 B
TypeScript
24 lines
864 B
TypeScript
import { buildProps } from '@element-plus/utils'
|
|
|
|
import type { ExtractPropTypes } from 'vue'
|
|
import type Arrow from './arrow.vue'
|
|
|
|
export const popperArrowProps = buildProps({
|
|
arrowOffset: {
|
|
type: Number,
|
|
default: 5,
|
|
},
|
|
} as const)
|
|
export type PopperArrowProps = ExtractPropTypes<typeof popperArrowProps>
|
|
|
|
export type PopperArrowInstance = InstanceType<typeof Arrow> & unknown
|
|
|
|
/** @deprecated use `popperArrowProps` instead, and it will be deprecated in the next major version */
|
|
export const usePopperArrowProps = popperArrowProps
|
|
|
|
/** @deprecated use `PopperArrowProps` instead, and it will be deprecated in the next major version */
|
|
export type UsePopperArrowProps = PopperArrowProps
|
|
|
|
/** @deprecated use `PopperArrowInstance` instead, and it will be deprecated in the next major version */
|
|
export type ElPopperArrowInstance = PopperArrowInstance
|