タイプスクリプトの単一のオブジェクトで vue コンポーネントの小道具を定義したい。
import {Component, Prop, Vue} from 'vue-property-decorator'
export class Props extends Vue
{
classElement :string
}
@Component
export default class Menu extends Vue<Props>
{
public props :Props;
.....
}
クラスベースのコンポーネントで上記のようにこれを行うことができます。
しかし、Vue.extend() を使用してコンポーネントでこれを行うにはどうすればよいですか?