vue/types/v3-manual-apis.d.ts
2022-06-01 21:55:33 +08:00

11 lines
287 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 useAttrs(): SetupContext['attrs']
export function useSlots(): SetupContext['slots']