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

1. Install tailwindcss as a dependency and write a plugin ``` import type { PluginAPI } from "tailwindcss/plugin"; ``` 2. `"tailwindcss/plugin"` resolves to `plugin.d.ts` instead of `plugin.d.mts` on tsc. 3....

Starting from `7.0.0-dev.20250530.1` this issue start happening on my project. I tracked down the offending [commit](https://github.com/microsoft/typescript-go/pull/791) (by locally building tsgo) repro (thanks to @joshcartme ) https://github.com/joshcartme/tsgo-slice-bounds-repro. Update: It happens for...

```ts type State = | { loaded: true; type: "loader"; value: string } | { loaded: false; type: "loader" } | { type: "other" }; declare class Store { state:...

No baselines in this PR yet; want to double check with people that these minimal changes won't break too much.

In Javascript, you can give a type and modifiers (for classes) to expandos, exports and object literal properties: ```js /** @type {number} */ module.exports = 12 const o = {...

Given this code: ```ts declare function compact(array: ArrayLike): T[]; type MyEnum = "a" | "b" | "c"; const myArray = ["a", "b"] as const; export function f() { const _:...

As of today's nightly: ```ts declare function compact(array: T[]): T[]; declare function makeFooer(): Fooer; interface Fooer { foo: (v: string) => string; } function f() { const _ = compact([makeFooer(),...

`tsgo` was silently ignoring JavaScript files when `allowJs` was not enabled, while `tsc` reports error TS6504. This made `tsgo` less helpful for users accidentally compiling `.js` files. **Changes** Modified `internal/compiler/filesparser.go`:...

- [x] Add parameter to pass raw command line options through config parsing functions - [x] Update mergeCompilerOptions to use raw command line options - [x] Update all call sites...

Fix signature help applicable span for nested calls Fixes signature help behavior for nested function calls to correctly prioritize outer calls when the cursor is positioned after completing an inner...