[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
test testing-tools vite
12

Configure Feed

Select the types of activity you want to include in your feed.

chore: add mising defineEmits

Vladimir (Jan 6, 2022, 5:46 PM +0300) acc7fecb 47938720

+8 -1
+4
packages/ui/client/components/Modal.vue
··· 27 27 direction: 'bottom', 28 28 }) 29 29 30 + defineEmits<{ 31 + (e: 'update:modelValue', value: boolean): void 32 + }>() 33 + 30 34 const positionClass = computed(() => { 31 35 switch (props.direction) { 32 36 case 'bottom':
+4 -1
packages/ui/client/components/ModuleTransformResultView.vue
··· 1 - <script setup lang="ts">import { client } from '~/composables/client' 1 + <script setup lang="ts"> 2 + import { client } from '~/composables/client' 2 3 const props = defineProps<{ id: string }>() 4 + defineEmits<{ (e: 'close'): void }>() 5 + 3 6 const result = await client.rpc.getTransformResult(props.id) 4 7 const ext = computed(() => props.id?.split(/\./g).pop() || 'js') 5 8