DEV Community

loading...

Discussion on: Write Vue like you write React

Collapse
shinigami92 profile image
Shinigami

Seems I need at least something like this

interface Data {
  label: string;
}
export default defineComponent<unknown, Data, Data>( //...
Enter fullscreen mode Exit fullscreen mode

Then this.lable is an error