Generics in defineemits cannot be defined separately from the TS file
Version
3.2.20
Reproduction link
Steps to reproduce
// h.vue
import { XX } from './xx.d.ts';
const emit = defineEmits
// xx.d.ts export type XX = {(e:'xxx'):void};
What is expected?
--
What is actually happening?
Page operation error
--