Jake Bailey
Jake Bailey
It can go both ways; I've seen some projects do this, especially those with a complicated build. Theoretically it should work, because pth files just tack paths onto sys.path, so...
I'm currently investigating why we are even emitting these import nodes in the first place; most things can be imported normally, but sometimes we don't for some reason.
I hand replaced all of the weird import nodes, which got me further, but to another error: ``` ERROR: Internal Error: Unable to follow symbol for "ModifierSyntaxKind" You have encountered...
Ah, no, the previous comment is my error incurred by hand-replacing things (a little too annoying to script). It wasn't imported properly, though it's an odd error given it is...
@typescript-bot test this @typescript-bot user test this inline @typescript-bot perf test this faster @typescript-bot test top100
Those builds expire, but it's supposed to go and build an npm package / playground too. I'll rerun it. @typescript-bot pack this
This seems like an extension of #47933; if you write code like ([Playground Link](https://www.typescriptlang.org/play?ts=4.9.0-dev.20220912#code/C4TwDgpgBAzg9gWwgFXNAvFA3gKClAegCoi98jZFpgIAPYKYOKAI2gBMBLGMAGwEMQEdmShECZANoBrCCABcMYACdOAOwDmAXXmwV6jQG4cAX2M4AxnDVLGEJYqqpIUTLnwECUQDLkUAOoAFhBqUAFwAG4QqpqhURAANIxBUOxwFgCuSGrA-MCc1lDcUAByAPLIKdx8gsIAdGT8aiDAAQa6AESNIO2m5jRKtV0tBn1oUOlq+WrOGFDt-cDtUAA+cwsATO2jLhNTAKK0-Ah8s+6EJKIU8Eh29IzMbJU8AkIi+GIS+DJyhSG71jMdEpokZejhLNZbHAWlF5P81AcjidXNgyJ4fP4giEwpEQbFlAkkhw0plgjk8gUimUKlxnjV2PV8AsOl12vE0V5fIFgqEIlEDPjCTCUiSsuSpoUYCVyk9qq9GXYlOsWU1NmCcEA)): ```ts type someType = { /** * some text to be displayed */ [key:string]: string; };...
FYI @danay1999
See also #44044 and #49730; the former is an open issue so I'd class this a duplicate of that.
Something to do with places like the VS Marketplace which don't support prerelease tags, though that might have changed entirely. https://github.com/microsoft/TypeScript/wiki/TypeScript's-Release-Process#why-do-you-need-to-set-the-patch-version-on-pre-releases Maybe things have changed enough such that we can...