typescript-go icon indicating copy to clipboard operation
typescript-go copied to clipboard

Staging repo for development of native port of TypeScript

Results 434 typescript-go issues
Sort by recently updated
recently updated
newest added

Currently, regardless of target it appears that ```ts let x = 1_2_3 + 123; ``` will be emitted as-is. Numeric separators were introduced in ES2021, so we will need to...

### Summary This PR ports the `classFieldsTransformer` from Strada into the current codebase. ### Details The motivation for this change originates from this [issue](https://github.com/microsoft/typescript-go/issues/137). However, after digging into the implementation,...

Support `--target es2022` by transforming ES decorators. Note that the other necessary transform (`using` declarations) is done. Start at `newESDecoratorTransformer`.

Domain: Emit

Support `--target es2022` by transforming class static blocks and class fields. Start at `newClassStaticBlockTransformer` and `newClassFieldsTransformer`.

Domain: Emit

Currently the test runner allows failing requests - but in actuality, these are recovered crashes. We should find a way to track these differently so that we can burn these...

Support `--target es2017` by transforming async iteration statements (`for await`). Note that the other necessary transform (object rest/spread) is done. Start at `newforawaitTransformer`.

Domain: Emit

Support `--target es2016` by transforming `async` functions/methods and `await` expressions. Start at `newAsyncTransformer`.

Domain: Emit

Editor behavior regression from 6.0 In IntelliSense, support for `` is currently missing. Example from https://github.com/microsoft/vscode/issues/282530 with `@example` tags: ```ts declare interface TestInterface { /** * This is a test....

Domain: Editor

Interestingly, VS Code does not request this, nor do we even test it.

I think this is slightly different because that https://github.com/microsoft/typescript-go/issues/2289 because that issue JSDoc that is "unhosted". ```js /** * @type {{p/**/}} */ ``` Here you actually *must* have an existing...

Crash