microsoft / TypeScript

TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
https://www.typescriptlang.org
Apache License 2.0
98.27k stars 12.21k forks source link

[experiment] force evaluation of generator function type when getTypeOfNode-ing nodes inside it #58323

Closed jakebailey closed 2 weeks ago

jakebailey commented 2 weeks ago

For #57585, but almost certainly a bad idea.

jakebailey commented 2 weeks ago

@typescript-bot pack this

typescript-bot commented 2 weeks ago

Starting jobs; this comment will be updated as builds start and complete.

Command Status Results
pack this ✅ Started ✅ Results
typescript-bot commented 2 weeks ago

Hey @jakebailey, I've packed this into an installable tgz. You can install it for testing by referencing it in your package.json like so:

{
    "devDependencies": {
        "typescript": "https://typescript.visualstudio.com/cf7ac146-d525-443c-b23c-0d58337efebc/_apis/build/builds/161478/artifacts?artifactName=tgz&fileId=0F3D566994DACAB8CB6D5E160FB85B1BDAFDD96754CA37D340C0FCA6C52DA63502&fileName=/typescript-5.5.0-insiders.20240426.tgz"
    }
}

and then running npm install.


There is also a playground for this build and an npm module you can use via "typescript": "npm:@typescript-deploys/pr-build@5.5.0-pr-58323-2".;