Skip to content

Instantly share code, notes, and snippets.

@IlCallo
IlCallo / shims-vue-formulate.d.ts
Last active August 9, 2023 13:00
Vue Formulate shim
/* eslint-disable @typescript-eslint/no-explicit-any */
declare module '@braid/vue-formulate' {
import { PluginObject } from 'vue';
export interface Context {
/** The label to display inside "add more" button on group inputs. */
addLabel: string;
/** An object of non-prop attributes passed to the input like placeholder. */
attributes: any;
/** Function that must be called when an input blurs. */