在 setup 语法糖中使用 defineProps 时报错

问题遇到的现象和发生背景

在 setup 语法糖中使用 defineProps 时

问题相关代码,请勿粘贴截图
interface Props {
    /* ... */
}

export {
    type Props
}

<script setup lang="ts">

    import { Props } from '.'

    const props = defineProps<Props>()

</script>


运行结果及报错内容

[@vue/compiler-sfc] type argument passed to defineProps() must be a literal type, or a reference to an interface or literal type.

我想要达到的结果

Props 从外部引用,接口继承可用

interface Props {
/* ... */
}
定义的类型不正确

在别的地方搜到了,当前使用的版本没法解决这个问题

img