You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I look at the index export I can see that for example is-empty is actually exported as export { default as isEmpty } from './helpers/is-empty.ts';
But the README says that it's supposed to be used like: {{if (is-empty a)}}
This together with the template imports example can lead people (it did to me) to conclusion that import should look like: import { is-empty } from 'ember-truth-helpers';
This won't work.
So to avoid confusion I think the usage table in README should show all possible imports.
The text was updated successfully, but these errors were encountered:
MichalBryxi
added a commit
to MichalBryxi/ember-truth-helpers
that referenced
this issue
Apr 18, 2024
is-empty
is actually exported asexport { default as isEmpty } from './helpers/is-empty.ts';
{{if (is-empty a)}}
import { is-empty } from 'ember-truth-helpers';
So to avoid confusion I think the usage table in README should show all possible imports.
The text was updated successfully, but these errors were encountered: