// @ts-nocheck import { computed, ref } from 'vue' import { useProps } from './useProps' import type { ISelectProps } from './token' import type { Option } from './select.types' export function useAllowCreate(props: ISelectProps, states) { const { aliasProps, getLabel, getValue } = useProps(props) const createOptionCount = ref(0) const cachedSelectedOption = ref