Version
5.0.0-beta.1
Reproduction link
https://github.com/yaquawa/vuetest
Steps to reproduce
Add the following to src/shims-vue.d.ts
declare module '@vue/runtime-core' {
interface ComponentCustomOptions {
layout?: string
breadcrumb?: number
}
}
then you'll get this:

I just want to add some custom options for all my components, not sure why this is happening.
If I add the above declare module... to a file of a npm package, for example node_modules/vue-router-layout/lib/index.d.ts, that works..