-
Notifications
You must be signed in to change notification settings - Fork 127
feat(type-compiler): inline external library imports #517
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
Conversation
b44a361
to
1aa4a2b
Compare
1aa4a2b
to
98cafff
Compare
037a7d9
to
5cdcfff
Compare
…ne-external-types'
5cdcfff
to
de8b473
Compare
6c026f3
to
5cf7b32
Compare
5cf7b32
to
54b14d4
Compare
3029152
to
f1d0993
Compare
matches with typescript's definition of it
f1d0993
to
d0ac269
Compare
Signed-off-by: Marcus S. Abildskov <[email protected]>
58b1a8b
to
b4d32ab
Compare
so that external type names don't clash with user defined type names when inlined
b4d32ab
to
8d869b3
Compare
so that external type names don't clash with user defined type names when inlined
b24e6b4
to
f8b1505
Compare
bbc2d19
to
e239161
Compare
e239161
to
b980dcb
Compare
a5a6ff3
to
8bd0027
Compare
Codecov ReportAttention:
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #517 +/- ##
==========================================
- Coverage 83.91% 77.38% -6.54%
==========================================
Files 51 147 +96
Lines 3084 18155 +15071
Branches 667 4821 +4154
==========================================
+ Hits 2588 14049 +11461
- Misses 496 4106 +3610 ☔ View full report in Codecov by Sentry. |
82dba33
to
f1c0eff
Compare
f1c0eff
to
6ed8d2b
Compare
Signed-off-by: Marcus S. Abildskov <[email protected]>
…ster on average use case. previously the cost of passing the type via type arguments (e.g. cast<User>, is<User>, ...) was too high and involved the usage of the full type virtual machine in order to interpret `Op.inline`. Adding this fast path to directly forwards to referenced type making it a lot faster and bypassing the type virtual machine entirely if the referenced type was already computed.
Signed-off-by: Marcus S. Abildskov <[email protected]>
Summary of changes
This introduces a new configuration for the type compiler in
tsconfig.json
.Relinquishment of Rights
Please mark following checkbox to confirm that you relinquish all rights of your changes: