forked from microsoft/TypeScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Generated module conversion step - stripNamespaces #5
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
Closed
Conversation
This file contains hidden or 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
91e8c22 to
8885adb
Compare
a931d75 to
d4f7962
Compare
8885adb to
0e1d400
Compare
d4f7962 to
4d57e12
Compare
0e1d400 to
d0b989b
Compare
4d57e12 to
24f0324
Compare
d0b989b to
1ab00db
Compare
24f0324 to
b55f5c1
Compare
1ab00db to
6a10437
Compare
b55f5c1 to
b9b79ec
Compare
6a10437 to
65d3c7d
Compare
b9b79ec to
0cad571
Compare
65d3c7d to
998d77a
Compare
0cad571 to
99635f8
Compare
998d77a to
c9d5bf0
Compare
99635f8 to
c8f247b
Compare
c9d5bf0 to
13ef966
Compare
c8f247b to
4264477
Compare
13ef966 to
aed7990
Compare
4264477 to
94efec6
Compare
aed7990 to
1a405d2
Compare
94efec6 to
e36e5ef
Compare
1a405d2 to
f154eb7
Compare
e36e5ef to
a7aa767
Compare
f154eb7 to
6cf63ac
Compare
a7aa767 to
329f521
Compare
6cf63ac to
89d1af6
Compare
329f521 to
2313137
Compare
ec84a52 to
2ac68f9
Compare
7329445 to
2b3e70f
Compare
2ac68f9 to
d12318c
Compare
2b3e70f to
5a2ca2c
Compare
d12318c to
5e3513d
Compare
5a2ca2c to
2f88db2
Compare
5e3513d to
77a2601
Compare
2f88db2 to
bdff460
Compare
77a2601 to
408dd2a
Compare
bdff460 to
312b309
Compare
408dd2a to
999d5e8
Compare
312b309 to
054cfb6
Compare
999d5e8 to
f7c6d49
Compare
054cfb6 to
4b63095
Compare
f7c6d49 to
5c6d677
Compare
4b63095 to
f17f50a
Compare
5c6d677 to
41e599e
Compare
f17f50a to
8e611f8
Compare
41e599e to
52d5cfc
Compare
8e611f8 to
70b4b5e
Compare
52d5cfc to
c890e6f
Compare
70b4b5e to
b48ab3d
Compare
c890e6f to
7310192
Compare
b48ab3d to
46802eb
Compare
7310192 to
dc25bdf
Compare
This step converts each file into an exported module by hoisting the namespace bodies into the global scope and transferring internal markers down onto declarations as needed. The namespaces are reconstructed as "barrel"-style modules, which are identical to the old namespace objects in structure. These reconstructed namespaces are then imported in the newly module-ified files, making existing expressions like "ts." valid.
46802eb to
ec16755
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This step converts each file into an exported module by hoisting the namespace bodies into the global scope and transferring internal markers down onto declarations as needed.
The namespaces are reconstructed as "barrel"-style modules, which are identical to the old namespace objects in structure. These reconstructed namespaces are then imported in the newly module-ified files, making existing expressions like "ts." valid.
Please do not comment on this PR. Depending on how this set of PRs evolves, this PR's contents may change entirely based on the order of commits.
This PR is a part of a stack: