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

We have a side-effect import of an untyped module ```ts import 'videojs-http-source-selector'; ``` Strada doesn't produce any type errors, presumably since no symbols are imported it doesn't care that type...

``` ➜ vite-import-tsc git:(main) npx tsc -p . ➜ vite-import-tsc git:(main) /Users/maxschmitt/Developer/tmp/typescript-go/built/local/tsgo -p . vite.config.ts:17:10 - error TS2305: Module '"/Users/maxschmitt/Developer/tmp/vite-import-tsc/node_modules/vite/index"' has no exported member 'defineConfig'. 17 import { defineConfig }...

bug

In vscode there's a "source definition" option. When I try to use it with tsgo, I see an error. --- fyi I also use `typescript.preferGoToSourceDefinition` to make this default:

**Expected Behavior:** When using type guards like `Array.isArray` or truthiness checks in an `if` block, the type of the variable within that block should be narrowed down to the more...

We are using https://www.npmjs.com/package/markdown-to-jsx in our project. And import a namespace from it via: ```ts import type { MarkdownToJSX } from 'markdown-to-jsx'` ``` With `"typescript": "5.8.3"` things work as expected....

I'm using Drizzle ORM in my project and when i enabled the experimental Typescript Native VSCode extension (and also before that when i built the extension from main), i have...

I have the following folder/package structure: ``` /package.json: name: @company/main workspaces: [ game-core/scripts, shared/schema-package ] /game-core/scripts/package.json: name: @company/game dependencies: @company/schema-package /game-core/scripts/src/tsconfig.json: outDir: ../dist/scripts /shared/schema-package/package.json name: @company/schema-package files: **/*.* main: index.js...

Apologies if we're reporting this too early but we're excited to use the `typescript-go` LSP at Canva when it's ready. We have a TS project with 90k+ files within it....

It seems to emit decorators as-is in both experimental and regular mode.