Private name Props error with TypeScript.
The following is a reproduction of the description from https://github.com/vuejs/docs/pull/2200. Credit goes fully to @olfek for reporting this issue.
Existing code snippet gives this error:
Default export of the module has or is using private name 'Props'.ts (4082)
Error fixed thanks to: https://github.com/johnsoncodehk/volar/issues/1232#issue-1213615569

I'm currently investigating this. I'll report back in the next few days.
For anyone needing a temporary fix, the simplest way to make the warning go away is to export the interface.
Discussion thread for adding support for this to Volar: https://github.com/vuejs/language-tools/discussions/2421.
I'm currently investigating this. I'll report back in the next few days.
For anyone needing a temporary fix, the simplest way to make the warning go away is to
exportthe interface.
but the example code of docs currently is: https://vuejs.org/guide/typescript/composition-api.html#typing-component-props
which is the correct usage??
Hi , Same Here ! I notice that when I delete the variable that bind in slots of template the error will disappear!
I have the same issue but when trying to generate types with vue-tsc --declaration --emitDeclarationOnly