cretueusebiu / vform

Handle Laravel-Vue forms and validation with ease.
https://vform.vercel.app
MIT License
610 stars 122 forks source link

Typescript Types #146

Open Sindhani opened 1 year ago

Sindhani commented 1 year ago

Hi thank you for this wonderfull package. i want to know that is thery any way that i can define the type of my Form attributes so it gives me code completion like

interface FormInterface{
first_name?:stirng
}

const form:FormInterface = new Form({first_name:string})

currently it gives me only the form only attributes defined in your files

nguyentranchung commented 8 months ago

Form.make({ first_name: "string" })