Does anyone know what's the syntaxt to create a type for data properties in vue.js (application is being written in typescript)? I'm looking for something like:
@Component({
data() {
return {
sections: Array<SomeInterface> = []
}
}
})
But vue sees a type as a value and I'm confused how to approach it.