Skip to content

issues Search Results · repo:microsoft/typescript-go language:Go

Filter by

205 results
 (88 ms)

205 results

inmicrosoft/typescript-go (press backspace or delete to remove)

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 
    4 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 ...
  • TimMoore
  • 1
  • Opened 
    4 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 ...
  • pumano
  • 5
  • Opened 
    19 hours ago
  • #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 ...
  • pumano
  • 1
  • Opened 
    19 hours ago
  • #1023

useDefineForClassFields: false ignored and processed as true
  • pumano
  • 1
  • Opened 
    19 hours ago
  • #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 ...
  • 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(), ...
  • benjaminjkraft
  • Opened 
    yesterday
  • #1016

Starting from 7.0.0-dev.20250530.1 this issue start happening on my project. I tracked down the offending commit (by locally building tsgo) repro (thanks to @joshcartme ) https://github.com/joshcartme/tsgo-slice-bounds-repro. ...
  • hamidrezahanafi
  • 6
  • Opened 
    yesterday
  • #1012

When trying to emit declarations for a React package, tsgo requires type annotations for React Components. Example component being used: /* src/index.tsx */ export const MyComponent = () = { return ...
  • paulobmarcos
  • Opened 
    yesterday
  • #1011
Issue origami icon

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 Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

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 Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub