[Vuejs]-Extracting props to separate module in Vue composition API in typescript

0๐Ÿ‘

โœ…

I will go for the second solution and add an export for the props object

export const moduleProps {
  time: {
    default: 1,
    type: [String, Number],
  },
  iterations: {
    default: 1,
    type: [String, Number],
  },
}

A bit redundant but it works

Leave a comment