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.2k forks source link

Dont get declaration diagnostics for file from referenced project #58333

Closed sheetalkamat closed 2 weeks ago

sheetalkamat commented 2 weeks ago

Fixes #58328

jakebailey commented 2 weeks ago

Just verifying the playground works with this

@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/161484/artifacts?artifactName=tgz&fileId=1C3B7BFF6CBB4A613EC6AEE9B252E7058A04A68B8FB501680F0ED376A6E7014B02&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-58333-2".;