-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
Module conversion work #46744
Comments
Running esbuild directly on the TS sources likely isn't an option because |
That shouldn’t be a problem for local testing since const enum usage will still work without inlining via |
When the binding is itself one that was created by `__createBinding`, re-use its descriptor, which avoids piling multiple levels of getters in the case of multiple levels of exports. Also related to microsoft#46744 and to microsoft/tslib#165.
When the binding is itself one that was created by `__createBinding`, re-use its descriptor, which avoids piling multiple levels of getters in the case of multiple levels of exports. In addition, reuse a descriptor if the bindings is marked as non-writable and non-configurable, which makes a getter not necessary. (This can be done manually if needed, even though tsc doesn't do it now.) Also related to microsoft#46744 and to microsoft/tslib#165.
When the binding is itself one that was created by `__createBinding`, re-use its descriptor, which avoids piling multiple levels of getters in the case of multiple levels of exports. In addition, reuse a descriptor if the bindings is marked as non-writable and non-configurable, which makes a getter not necessary. (This can be done manually if needed, even though tsc doesn't do it now.) Also related to microsoft#46744 and to microsoft/tslib#165.
When the binding is itself one that was created by `__createBinding`, re-use its descriptor, which avoids piling multiple levels of getters in the case of multiple levels of exports. In addition, reuse a descriptor if the bindings is marked as non-writable and non-configurable, which makes a getter not necessary. (This can be done manually if needed, even though tsc doesn't do it now.) Also related to microsoft#46744 and to microsoft/tslib#165.
When the binding is itself one that was created by `__createBinding`, re-use its descriptor, which avoids piling multiple levels of getters in the case of multiple levels of exports. In addition, reuse a descriptor if the bindings is marked as non-writable and non-configurable, which makes a getter not necessary. (This can be done manually if needed, even though tsc doesn't do it now.) Also related to #46744 and to microsoft/tslib#165.
Closing in favor of #49332 (where I'll do something similar to this issue). |
This issue is to keep track of the module conversion work, which is ongoing at #46567:
Done, keep track of the code in a new fork to working state.
,
s to;
s or dropping a suffix,
in argument lists).Main problem: the modules are expressed indirectly which is more likely to cause problems.
tsc
, but that could possibly still be used for testing (but see below).src/tsserverlibrary
andsrc/typescriptServices
stubs.src/instrumenter
(includingsrc/loggedIO/tsconfig-tsc-instrumented.json
)src/services/exportAsModule.ts
describe
binding.)for direct imports, and related (like
*Impl.ts
files).The text was updated successfully, but these errors were encountered: