-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
feat(runtime-core): mixins/extends support in TypeScript #626
Merged
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
c073dbf
feat(runtime-core): support mixins and extends for TS ThisType
dolymood 7e32c2f
test(runtime-core): add mixins and extends
dolymood 11f5b30
test(defineComponent): add mixins and extends
dolymood 8485427
refactor: sync
dolymood 058e6c7
fix(runtime-core): apiExtractor can not support typeof "options"
dolymood bfd35a1
fix(runtime-core): compatible with before h & defineComponent
dolymood fdfb31e
fix(runtime-core): h cases for setup
dolymood 1f5bf5a
fix(runtime-core): h cases for ComponentOptionsBase
dolymood 3b7971e
fix(runtime-core): withoutprops use union define - null
dolymood df580c0
fix(runtime-core): props options can be null #3b7971e
dolymood f603d3b
refactor(runtime-core): sync vue-next
dolymood 604f163
Merge branch 'master' of https://github.com/vuejs/vue-next
dolymood d2250b9
test(types): add extends with mixins case
dolymood 3251dcf
fix(runtime-core): remove PropMethod type useless code
dolymood 3e0eb03
test(runtime-core): ensure mixin can access parent context
dolymood 3193816
feat: update to typescript@3.9rc and type fixes
pikax 11cd53d
types: fix defineComponent return type
pikax a9c8119
fix(runtime-core): merge from vue-next master
dolymood c0e302d
Merge branch 'master-github' into feat/ts3.9-rc_2
pikax 42387b9
Revert "types: fix defineComponent return type"
pikax bf3e586
types: apply @ktsn :tada:
pikax 59c23cb
Merge branch 'feat/ts3.9-rc_2' of https://github.com/pikax/vue-next
dolymood 6ae01d5
fix(runtime-core): compatible with TS 3.9
dolymood 9be67ac
Merge branch 'master-github' into feat/ts3.9-rc_2
pikax ced4603
test: removed dts and use tsc --noEmit, added built types testing
pikax 93c958c
fix: Merge branch 'feat/ts3.9-rc_2' of https://github.com/pikax/vue-next
dolymood 6e47393
fix(test-dts): add ts-expect-error
dolymood acebedf
chore: add readme
pikax e20da8b
Merge branch 'master-github' into feat/ts3.9-rc_2
pikax 3aa35b8
chore: update typescript to 3.9.2
pikax 4458c97
Merge branch 'master-github' into feat/ts3.9-rc_2
pikax ac4ec0a
chore: using @ts-ignore instead of `as any` on console.info
pikax 526c9fd
build(deps): bump typescript 3.9.3
pikax 962477c
refactor: sync pikax codes
dolymood 0a0f303
Merge branch 'master' into master
yyx990803 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as the previous component, we probably want to test the access of the component who's extending.