tscircuit / snippets

https://snippets.tscircuit.com
MIT License
3 stars 15 forks source link

Imported types from snippets not working properly #91

Open seveibar opened 1 week ago

seveibar commented 1 week ago

When I import another snippets, especially one from jlcpcb that uses a hook, the types don't come in properly.

This probably has to do with how we bundle the typescript (snippet.dts)

My recommendation:

Just replicating the issue is a great PR, you don't have to fix it in the first PR