8000 feat: Add Annotating Props to Typescript page by pikax · Pull Request #2068 · vuejs/v2.vuejs.org · GitHub
[go: up one dir, main page]

Skip to content

feat: Add Annotating Props to Typescript page #2068

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Apr 20, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
improve wording on Typescript Annotating Props
  • Loading branch information
Carlos committed Apr 23, 2019
commit bd493e11d9a19d019219dec11bb7fa0d5ccd2bf6
2 changes: 1 addition & 1 deletion src/v2/guide/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,4 +217,4 @@ const Component = Vue.extend({
}
})
```
If you find validator not getting type inference or member completion isn't working, annotating the argument the expected type may help address these problems.
If you find validator not getting type inference or member completion isn't working, annotating the argument with the expected type may help address these problems.
0