mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
When initially written types were not in the symbol table. Now that
types are in the symbol table it makes sense given
```ts
type A = 1
type B = A
```
that you can get to the symbol id for for A from type B = A.
Please correct me if I'm wrong about how I implemented this. I also
verified that occurrence (I believe this is the correct word) behaves
how I would expect.
```ts
type RecursiveType = string | {[x: string]: RecursiveType}
```
Does populate a reference.
---------
Co-authored-by: Boshen <boshenc@gmail.com>
|
||
|---|---|---|
| .. | ||
| js | ||
| jsx | ||
| lexer | ||
| ts | ||
| context.rs | ||
| cursor.rs | ||
| diagnostics.rs | ||
| lib.rs | ||
| list.rs | ||
| state.rs | ||