Randy Hudson
Randy Hudson
Is some of the API documented somewhere?
According to comments on the unicode ticket that was opened, the data is fine, but the rules of the spec have not been followed by the implementation. Comment 3 indicates...
Your TS code must be in a location where ts-node can find a `tsconfig.json` file for it. For example, in the same or parent folder: ``` { "compilerOptions": { "module":...
Would turning on the typescript plugin be a problem? ```typescript class SnapshotCodeLensProvider implements vscode.CodeLensProvider { public provideCodeLenses(document: vscode.TextDocument, _token: vscode.CancellationToken) { function parseTS(file: string) { return parse(readFileSync(file, 'utf8'), { sourceType:...
@connectdotz Does the above make sense? I could open a PR or investigate some other approach.
I think the flow and typescript plugin are mutually exclusive. I’m not sure if Babel parser includes the flow plugin by default, but we could look at the file’s path...
jest-community/jest-editor-support#51 is related. This package is written in TypeScript. Is it not annoying that you can't even self host your own unit tests?
optional chaining and many other typescript language features also cause parsing to fail. For example, I moved this function out of a test file to prevent parsing from failing: ```TS...
I don't completely follow the counter-example. `infer J` above is inside a constraint position, but it's a conditional constraint. When using infer in an "unconditional" constraint, today you get the...
This would be useful elsewhere too: ```ts type Wrapper = { wrapped: T; } function unwrap(w: W): V { return w.wrapped; } const result = unwrap({wrapped: 42}); ``` When this...