GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||
GeezerVison is showing github.com — module: add --experimental-transform-types flag by marco-ippolito · Pull Request #54283 · nodejs/node Conversation
|
|
Review requested:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
29040a6 to
c5da92e
Compare
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
de62233 to
7343717
Compare
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Can we also add a test case that --experimental-enable-transformation doesn't eliminate unused imports, like this example?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
7343717 to
b67230f
Compare
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
b67230f to
e0ac82e
Compare
e0ac82e to
3578d86
Compare
3578d86 to
6b155bd
Compare
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Actually, on closer look I have a change request: I think --experimental-enable-type-transform should imply --enable-source-maps.
(I'm +1 on the feature)
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Probably makes more sense, otherwise location will be always wrong |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Landed in 0301309 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Has there been discussion around writing out the result of typescript transformation? It would allow package creators to publish TS -> JS consistent with the transformations node is doing internally. Given transformations don't apply to Happy to post this comment elsewhere if more suitable. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
We have a repository for this kind of discussion nodejs/typescript |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Sorry if i'm later to the party :) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
No, this is just isolatedModules. Node.js is not shipping a type checker that can perform that kind of analysis. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I optimistically pushed it to v22.x-staging but tests failed, so I took it out: https://github.com/nodejs/node/actions/runs/10382663326/job/28746123871 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
It requires backport I think, to imply the |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.