| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| start: 0, | ||
| length: 0, | ||
| messageText: "Argument for '--module' option must be: 'none', 'commonjs', 'amd', 'system', 'umd', 'es6', 'es2015', 'esnext'.", | ||
| messageText: "Argument for '--module' option must be: 'none', 'commonjs', 'amd', 'system', 'umd', 'es6', 'es2015', 'es2020', 'es2022', 'esnext'.", |
There was a problem hiding this comment.
Interesting to see this hasn't failed. I don't think this even runs 🤔
Sorry, something went wrong.
|
Should this function return ModuleKind.ES2020 and ES2022 following the target version? It seems #33893 missed this, and I wonder this needs to be fixed. TypeScript/src/compiler/utilities.ts Lines 6035 to 6039 in 5afe42e |
Sorry, something went wrong.
|
PR seems kind of outdated. |
Sorry, something went wrong.
|
I'll rebase once anyone reviews this (or a maintainer requests a rebase). |
Sorry, something went wrong.
|
This is going to look a weeee bit different after a merge since the module: node changes touch many of the same lines, but initially it looks ok. |
Sorry, something went wrong.
|
Next to module: node12, this is another thing I'm really looking forward to. Currently there is no real setting for node 16 environment, see also https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping |
Sorry, something went wrong.
There was a problem hiding this comment.
This little looks fine to me - Daniel Rosenwasser (@DanielRosenwasser) do we want this in for the beta?
Sorry, something went wrong.
There was a problem hiding this comment.
I think this seems reasonable.
Sorry, something went wrong.
|
What could be the default option for this and the highest version, I guess is none and esnext? |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Closes #44653