Private name Props error with TypeScript.
Nobody has claimed this yet.
- Dominant language
- Vue
- Stars
- 3.2k
- Forks
- 5k
- Avg merge
- 14d 17h
- Merged PRs (30d)
- 1
Description
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

Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by opening the reproduction from vuejs/docs pull request 2200 and compare the existing snippet with the linked Volar issue 1232. Identify the documentation snippet that triggers TypeScript error TS4082; done means the documented example no longer produces the private-name Props error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100