stc icon indicating copy to clipboard operation
stc copied to clipboard

Speedy TypeScript type checker

Results 150 stc issues
Sort by recently updated
recently updated
newest added

If strictNullCheck is true ```ts class C { private p: string; } var strOrC: string | C; var c: C; // A type guard of the form typeof x ===...

good first issue

```ts interface A { a: 'a'; } namespace C { interface B1 extends A { b: 'b'; c: OldDiff; } } type c1 = C.B1['c']; // 'c' | 'b' ```...

**Description:** This is required for #1042, which requires to recurse into self. **Related issue (if exists):**

**Description:** **Related issue (if exists):**

We don't need `Mutex` for `ErrorStore`. (Regression caused by https://github.com/dudykr/stc/pull/1045)

Are there any early benchmarks that compare stc to tsc? Curious to see what level of improvement stc would provide.

**Description:** **Related issue:** - Closes #929. - Closes #930.

**Description:** Not sure how can I implement this at the moment, but I'll try.

Given this input ```ts type A = A2; type A2 = A; ``` stc will print ![image](https://user-images.githubusercontent.com/12380586/232412564-2390cf09-55fb-400b-8021-3563e4b56fc1.png) Log ERROR (1) Failed to find type: A2#2 at crates/stc_ts_file_analyzer/src/analyzer/scope/mod.rs:2261 in Expander::expand_ref in...