Files
speckle-server/packages/frontend/src/helpers/vuetifyHelpers.ts
T
2022-09-06 11:10:38 +03:00

23 lines
395 B
TypeScript

import type { CombinedVueInstance } from 'vue/types/vue'
/**
* Use this to type v-form $refs instances
*/
export type VFormInstance = CombinedVueInstance<
Vue,
unknown,
{
/**
* Reset validation state
*/
resetValidation(): void
/**
* Validate the form and return whether it's valid or not
*/
validate(): boolean
},
unknown,
unknown,
unknown
>