hdresearch / nolita

Work with web-enabled agents quickly — whether running a quick task or bootstrapping a full-stack product.
https://nolita.ai
MIT License
85 stars 5 forks source link

Fix type resolution #44

Closed matildepark closed 3 months ago

matildepark commented 4 months ago

Likely introduced after #28 / #29. #39 did not fix it. This was introduced because our dependency on gluegun made it so that types needed to go into their own folder; but no matter what we seem to clobber our types, because we have both declarations and exported types (unless someone can correct me on this, I don't know TS all that well).

We probably need to remove declarationDir from tsconfig and then use a different dependency for the CLI wizard. gluegun's automatic importer basically kept choking on declarations trying to read them as commands to use. If we can stop the importer from running, and instead manually specify commands, we could probably fix this, too.

matildepark commented 3 months ago

This should be fixed with #45.