Seems like the instruction on how to type ComponentCustomProperties and ComponentCustomOptions aren't covered by the TS integration page of Vue3 docs.
A section about global plugin usage is probably needed, as there where in Vue2 docs
I could find some examples into the TSDocs of the related interfaces.
https://github.com/vuejs/vue-next/blob/11a76ebd94932d04a54c8c60e60121ecf13c35a9/packages/runtime-core/src/componentPublicInstance.ts#L66
https://github.com/vuejs/vue-next/blob/11a76ebd94932d04a54c8c60e60121ecf13c35a9/packages/runtime-core/src/componentOptions.ts#L79
This may be the same as #694