refactor: post-form-attaches to composition api #57
Loading…
Reference in New Issue
No description provided.
Delete Branch "(deleted):refactor/post-form-attaches"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -17,2 +17,2 @@
<script lang="ts">
import { defineComponent, defineAsyncComponent } from 'vue';
<script lang="ts" setup>
import { defineProps, defineAsyncComponent, defineEmits, computed } from 'vue';
-- https://vuejs.org/api/sfc-script-setup.html#defineprops-defineemits
@ -134,0 +118,4 @@
text: i18n.ts.attachCancel,
icon: 'fas fa-times-circle',
action: (): void => { detachMedia(file.id); },
}], ev.currentTarget ?? ev.target).then(() => menu = null);
A bit inconsistent that here there is no return type annotated but above
void
is explicitly annotated. IMHO annotatingvoid
there makes little sense.Superceeded by #60
Pull request closed