mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
* chore: [select] remove @ts-nocheck directive * Update packages/components/select/src/option.vue Co-authored-by: qiang <qw13131wang@gmail.com> * chore: delete useless type * Update packages/components/select/src/useSelect.ts Co-authored-by: qiang <qw13131wang@gmail.com> * fix: type error * fix: type error * chore: use buildProps * chore: add type * Update packages/components/select/src/useSelect.ts Co-authored-by: btea <2356281422@qq.com> * chore: fix type * chore: fix type * chore: fix types --------- Co-authored-by: warmthsea <2586244885@qq.com> Co-authored-by: sea <45450994+warmthsea@users.noreply.github.com> Co-authored-by: qiang <qw13131wang@gmail.com> Co-authored-by: btea <2356281422@qq.com>
9 lines
350 B
TypeScript
9 lines
350 B
TypeScript
import type { InjectionKey } from 'vue'
|
|
import type { SelectContext, SelectGroupContext } from './type'
|
|
|
|
// For individual build sharing injection key, we had to make `Symbol` to string
|
|
export const selectGroupKey: InjectionKey<SelectGroupContext> =
|
|
Symbol('ElSelectGroup')
|
|
|
|
export const selectKey: InjectionKey<SelectContext> = Symbol('ElSelect')
|