Yomguithereal / baobab

JavaScript & TypeScript persistent and optionally immutable data tree with cursors.
MIT License
3.15k stars 117 forks source link

Declaration file for Typescript, ES6 transpile for rollup users, updated configs and deps #469

Closed hugomrdias closed 6 years ago

hugomrdias commented 7 years ago

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

hugomrdias commented 7 years ago

anything i can do to help merge this ?