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

When I built my project in TS-Go I ended up getting thousands of errors. While I'm still working through some of them to make more reports, the ones that struck...

Fixes #928 This really nerd sniped me, oops. This isn't exactly the same; missing the idea of a "partial" check, and we do JSDoc differently, but it seems correct enough....

In the TypeScript Go implementation, checkJs now defaults to true, whereas it previously defaulted to false. https://github.com/microsoft/typescript-go/blob/4764672ab5f048554d3fe7134aee1cec6bd85e1c/internal/core/compileroptions.go#L218 Wanted to call it out as I was unsure if this change was...

* Node `v20.19.2` on mac * Works fine with `tsc` from `[email protected]` * Errors visible with `@typescript/[email protected]` * Dependency chain `[email protected]` * `@types/[email protected]` * `@sinclair/[email protected]` ``` npx tsgo src ```...

`@public @private @protected @readonly @override` Three notes: - I did not add support for BinaryExpressions yet because they don't have a Modifiers list. I think the right thing is to...

This branch to replaces the current `typeToString` implementation with the ported node-builder backed implementation, which is the top-down goal of this PR, ultimately. It also enables declaration emit and tests...

For a project with the `skipLibCheck` compilerOption set to `false`: ``` npx tsgo --project tsconfig.json ``` Correctly emits errors inside node_modules and project type declaration files. ``` npx tsgo --project...

As titled, the following: ```ts import type Config from "./abc.json" declare const config: typeof Config ``` Crash the typescript.native-preview-lsp server inside VSCode, while running `tsgo --noEmit` from `@typescript/native-preview` work completely...

This PR adds some of the error handling that was missed in #852 and wasn't ported over in the initial tsconfig parsing port

I'm trying out tsgo on my large work codebase and found it errors on a pattern we use very often that does pass `tsc`: ```ts import type { ComponentType, JSX...

bug