latitude icon indicating copy to clipboard operation
latitude copied to clipboard

Fix types sourcemanager and llmanager

Open andresgutgon opened this issue 8 months ago • 1 comments

What?

We were generating types wrongly and when using these packages types were not recognized by the LSP (Language Server Protocol)

The problem is we use alias @/model instead of ../../model' and those alias has to be resolved in the same way by tsconfig` and by rollup.

Also we were generating a lot crap in the dist folder. Now is only index.js and index.d.ts

Before LSP

No auto completion image

After LSP [insert feels good meme here]

image

Before dist folder

image

After dist folder

image

andresgutgon avatar Jun 28 '24 09:06 andresgutgon