Vue Declaration CheatSheet

Vue CheatSheet

1. Props

Arrays

props: {
    radioItems: {
      type: Array as PropType<Array<RadioItem>>,
      required: true,
    },
  },

2. refs

Arrays

const openState = ref([] as Array<number>)

Helpful?

If you think this is helpful 🎈
Don't keep it to yourself 🙊

Share it with your lovely followers at twitter 🗽

lets connect viatwitter