Fails to find "native" - not transpiled - async action
RobIsHere opened this issue · 1 comments
RobIsHere commented
The check at https://github.com/DockYard/ember-route-action-helper/blob/master/addon/helpers/route-action.js#L28 fails for async function. Because Ember.typeOf returns "object".
"async function" checks are not documented in Ember.typeOf. So I don't know if this should not be used or if it's a thing that should work in Ember.typeOf.
rwjblue commented
We should just use the native typeof
there...