Skip to content
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

Conditional type support #105

Merged
merged 36 commits into from
Jun 23, 2019
Merged
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
0fb2a1e
Add build and test task
kayahr Jun 1, 2019
2b2665f
Implement crude conditional type node parser
kayahr Jun 1, 2019
a135acf
Fix linter warning
kayahr Jun 1, 2019
8c97e42
Add some tests for conditional type
kayahr Jun 1, 2019
c8db06b
Only unwrap types internally when needed
kayahr Jun 3, 2019
898ef09
Merge branch 'master' into feature/conditional-type
Jun 5, 2019
c7c2aa2
Update schema URLs to draft-07
Jun 5, 2019
b0b71df
Use already existing derefType
Jun 5, 2019
b9a5a5e
Remove accidentally commited tasks.json
Jun 5, 2019
00ed2ba
Merge branch 'master' into feature/conditional-type
Jun 5, 2019
df40298
Merge branch 'master' into feature/conditional-type
Jun 6, 2019
300053a
Merge branch 'master' into feature/conditional-type
Jun 7, 2019
31816a4
Split types "any" and "unknown"
Jun 7, 2019
e0089ed
Add NeverTypeFormatter in case this type is exposed
Jun 7, 2019
10c71ae
Add new classes to index
Jun 7, 2019
81027bc
Move isAssignable check to utility function
Jun 7, 2019
5484887
Better variable names
Jun 7, 2019
b27d0d9
Fix stack overflow in isAssignableTo for circular dependencies
Jun 7, 2019
3fd9004
Simplify condition type node parser
Jun 7, 2019
9d7500a
Add test for Omit
Jun 7, 2019
eac11e3
Simplified conditional type node parser even more
Jun 7, 2019
093f847
Support enums in conditionals types
Jun 7, 2019
3aee97a
Merge branch 'master' into feature/conditional-type
Jun 7, 2019
587f31e
Merge branch 'master' into feature/conditional-type
Jun 7, 2019
ae5fbcc
Combine unions
Jun 7, 2019
5faa296
Deref type
Jun 7, 2019
dcba459
More tests
Jun 7, 2019
a5fc384
Merge branch 'master' into feature/conditional-type
Jun 8, 2019
6d685b0
Improve type narrowing so definition types are kept
Jun 8, 2019
1e761a8
Remove accidentally commited comment
Jun 9, 2019
a07c94a
Merge branch 'master' into feature/conditional-type
Jun 11, 2019
e43afb4
Merge branch 'master' into feature/conditional-type
Jun 21, 2019
a0df82d
Only narrow down result type when type parameter matching the check type
Jun 22, 2019
d7cdb26
Ignore annotations from standard typescript types
Jun 22, 2019
c6d05b5
Merge branch 'master' into feature/conditional-type
Jun 22, 2019
f0cf842
Merge branch 'master' into feature/conditional-type
Jun 23, 2019
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
Next Next commit
Merge branch 'master' into feature/conditional-type
  • Loading branch information
Klaus Reimer committed Jun 5, 2019
commit 00ed2bac4c3a0afe113b226bc49843436449c8f5

This merge commit was added into this branch cleanly.

There are no new changes to show, but you can still view the diff.