issues Search Results · repo:microsoft/typescript-go language:Go
Filter by
207 results
(66 ms)207 results
inmicrosoft/typescript-go (press backspace or delete to remove)This is a followup to #541. Most cases were fixed when the issue was solved, except for top level comments like
shebangs. Those are still omitted from the JS output, even when removeComments is false. ...
AlCalzone
- Opened 1 hour ago
- #1038
With same code, just replacing tsc with tsgo gives me multiple TS 2742 errors like these
error TS2742: The inferred type of router cannot be named without a reference to ../../node_modules/@trpc/server/dist/unstable-core-do-not-import.js ...
Domain: Declaration Emit
vjau
- Opened 3 hours ago
- #1034
With DOM libs (I m testing with lib : [ ES2023 , DOM ]), the following code:
export function f(x: ElementCSSInlineStyle): void {
x.style = asdf ;
}
works in TS, but in Go gives:
src/getSet.ts:3:5 ...
benjaminjkraft
- 1
- Opened 8 hours ago
- #1033
The following code is accepted by TypeScript tsc 5.8.3 but fails with tsgo as of version 7.0.0-dev.20250603.1:
type IMapEntries K, V = [K, V][];
type IKeyValueMap V = {
[key: string]: V;
};
function ...
Domain: Type Checking
TimMoore
- 1
- Opened 9 hours ago
- #1032
panic: Unhandled case in Node.Expression
goroutine 1393 [running]: github.com/microsoft/typescript-go/internal/ast.(*Node).Expression(0x140055d2e38?)
github.com/microsoft/typescript-go/internal/ast/ast.go:371 ...
Domain: Type Checking
pumano
- 6
- Opened yesterday
- #1024
When have project with tsconfig.json that extends from root tsconfig.base.json (typical nx monorepo project) with paths
in tsconfig.base.json for solution style resolving of imports - it s ignored and ...
Domain: Module Resolution
pumano
- 1
- Opened yesterday
- #1023
useDefineForClassFields: false ignored and processed as true
Domain: Emit
pumano
- 1
- Opened yesterday
- #1022
type State =
| { loaded: true; type: loader ; value: string }
| { loaded: false; type: loader }
| { type: other };
declare class Store {
state: State;
setState(state: State): void;
}
function ...
Domain: Type Checking
benjaminjkraft
- Opened yesterday
- #1020
Given this code:
declare function compact T (array: ArrayLike T ): T[];
type MyEnum = a | b | c ;
const myArray = [ a , b ] as const;
export function f() {
const _: MyEnum[] = compact([...myArray, ...
wontfix
benjaminjkraft
- 1
- Opened yesterday
- #1017
As of today s nightly:
declare function compact T (array: T[]): T[];
declare function makeFooer(): Fooer;
interface Fooer {
foo: (v: string) = string;
}
function f() {
const _ = compact([makeFooer(), ...
Domain: Type Checking
benjaminjkraft
- Opened yesterday
- #1016

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.