I started this fork because for some reason i couldn't bundle baobab with Rollup and used the above PRs to fix that too. Hopefully isn't too much.
These changes gives me perfect UX(cause of the declaration file) in VS Code and rollup builds.
Please give this a look and hopefully a merge.
i forked from this PR: https://github.com/Yomguithereal/baobab/pull/464
specifically from @luccitan https://github.com/luccitan/baobab/commit/4b2e552f54d941dadb9fbf19ba299f6e62301d4c
I started this fork because for some reason i couldn't bundle baobab with Rollup and used the above PRs to fix that too. Hopefully isn't too much. These changes gives me perfect UX(cause of the declaration file) in VS Code and rollup builds. Please give this a look and hopefully a merge.
some links to help you validate this:
https://www.typescriptlang.org/docs/handbook/declaration-files/templates.html https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html