pzuraq / macro-decorators

Decorators for getter/setter macros!
https://pzuraq.github.io/macro-decorators/
MIT License
62 stars 10 forks source link

Export utility functions #9

Open puwelous opened 4 years ago

puwelous commented 4 years ago

Hello 👋

When writing our own macro-decorators, we found out we would like to use utility functions like getPath(), getPaths(), etc. internally used in https://github.com/pzuraq/macro-decorators/blob/master/src/index.ts.

Would it make sense for you to make them publicly available?

pzuraq commented 4 years ago

Sure, I think that'd be good. Maybe we can export them from macro-decorators/util?

puwelous commented 4 years ago

Yup, very well 👍

pzuraq commented 4 years ago

PRs welcome! I'll try to get to this soon, but this would be a great issue for a new contributor

puwelous commented 4 years ago

https://github.com/pzuraq/macro-decorators/pull/10 Have I forgotten anything?

ℹī¸ I placed them into /src/utils instead of /src/util as other ember utility classes or addons have similar export path, i.e. @ember/utils