vue/types/v3-manual-apis.d.ts

11 lines
344 B
TypeScript

import { SetupContext } from './v3-setup-context'
import { CreateElement, Vue } from './vue'
export function getCurrentInstance(): { proxy: Vue } | null
export const h: CreateElement
export function useSlots(): SetupContext['slots']
export function useAttrs(): SetupContext['attrs']
export function useListeners(): SetupContext['listeners']