typescript-go
typescript-go copied to clipboard
Staging repo for development of native port of TypeScript
Fixes #2332.
```ts const comparers: Array boolean> = []; comparers.push((a,/**/ b) => true); ``` Somehow this brings down the whole server without sending back a proper stack trace.
Port microsoft/TypeScript PR #62844 - Gate `#/` subpath imports on NodeNext and Bundler module resolution modes This PR aligns with Node.js PR nodejs/node#60864, which allows defining symmetric `exports` and `imports`...
Also propagates token flags in the places where Strada did. This could have helped prevent #2326, probably.
```tsx import React from "@@not-resolved@@" function SomeOtherComponent(props: any) { return ( ); } ``` Request completions at the `/**/` ``` [error] panic handling requesttextDocument/completionruntime error: invalid memory address or nil...
```tsx export function someFunc(options: { x: string, y: string, z: string }) { } ``` This creates 4 references code lenses. We probably don't want to provide code lenses when...
Implementation of organize imports
"Options diagnostics" were just config file diagnostics + global diagnostics. This was odd, because we then took that in places and combined it with... config file diags and global diags....
## Steps to reproduce tsconfig.json: ``` { "compilerOptions": { "target": "esnext", "module": "nodenext", "moduleResolution": "nodenext", "declaration": true, } } ``` test.ts: ``` import * as typescript from "typescript"; export default...
## Steps to reproduce ```ts declare const deepEqual: (actualValue: T, expectedValue: T, message?: string) => void; const actualValue = { a: "hello", b: undefined, c: "world", d: undefined }; //...