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

Hello, This will need a little investigation (learning the `type-fest` package types), but I tried running TSGO in my current project and got some errors. Basically, `type-fest` has a `UnionToTuple`...

hoping for some pointers on how to start about fixing this: ``` ❯ cat test.ts class Point { x: number = 2; y: number; } ❯ tsgo tsc -t es2020...

This is a little tricky but I think works.

I'm trying to use `tsgo` as a drop-in replacement for `tsc`, but some commonly used commands don't work as expected. #### ✅ Working - `tsgo` - `tsgo --help` #### ❌...

Fixes #935 We want the server to exit when stdin closes, but the current code was returning nil, leaving the errgroup running, leaving the process behind.

After disabling the naive preview in vscode, the `tsgo` processes remain running and consuming lots of memory. Even after quitting vscode, the processes persist. ![Image](https://github.com/user-attachments/assets/f6914dfa-59ab-4906-b300-6fa7757bc5f0)

After setting up the native preview, `// @ts-expect-error` seems to have no effect ![Image](https://github.com/user-attachments/assets/4dfc7f43-706d-4e7b-97f8-5805ee048c28) ![Image](https://github.com/user-attachments/assets/4de20739-b9c8-4d19-a244-1cd5a42f39da)

I have the following baseUrl setting in the tsconfig.json in a nextjs project. ```json { "compilerOptions": { "target": "es5", "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "skipLibCheck": true, "strict": false, "forceConsistentCasingInFileNames":...

I am using an nx angular project and have the following path in the tsconfig.base.json ```typescript "@libs/util/shared": ["libs/util/shared/src/index.ts"], ``` then in a ts file this ```typescript import { getDefaultConfirmationDialogConfig, getDefaultDialogConfig,...

if I have this import ```ts import { Button } from '@/components/ui/button' ``` Then it works fine in the file 'app/page.tsx' `app/hello/page.tsx` etc However, if I have `app/(test)/test/page.tsx` I get...