1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-16 12:05:26 +02:00
This commit is contained in:
syuilo
2020-07-31 21:40:26 +09:00
parent e184ca56c3
commit 6d141c0cc1
4 changed files with 56 additions and 54 deletions

View File

@@ -1,11 +1,11 @@
import Vue from 'vue';
import { defineComponent } from 'vue';
import { Form } from '../scripts/form';
export default function <T extends Form>(data: {
name: string;
props?: () => T;
}) {
return Vue.extend({
return defineComponent({
props: {
widget: {
type: Object