Vue 3 define component with typescirpt props - prevent duplication

前端 未结 0 1394
一整个雨季
一整个雨季 2020-12-30 07:07

In definition component I have code (for example)

import { defineComponent } from "vue";

type Props = {
  name: string;
};

export const TestCompon         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题