sfba.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance for the San Francisco Bay Area. Come on in and join us!

Server stats:

2.3K
active users

#tooling

6 posts4 participants0 posts today

I'm now two weeks in on my work on @biomejs 's type inference and we can now resolve types in this code:

```ts
class DeepThought {
/* class members */
}

export const superComputer = new DeepThought();
```

It doesn't matter that `DeepThought` isn't being exported, or that the code is defined in another module. We can now look up the type of `superComputer` and get a meaningful answer.

For more info, see: github.com/biomejs/biome/pull/

Summary
Another milestone towards implementation type inference: Indexed modules now have their types resolved before being added to the module graph.
Take the following code snippet:
class DeepTho...
GitHubfeat(core): implement "thin" type resolution by arendjr · Pull Request #5665 · biomejs/biomeBy arendjr