ember-decorators / argument

Decorators for Component and Object arguments in Ember
MIT License
30 stars 18 forks source link

What happened to importing `type`? #106

Open allthesignals opened 5 years ago

allthesignals commented 5 years ago

I used to be able to import this way:

import {
  type,
  oneOf,
  arrayOf,
  shapeOf,
  unionOf,
  optional,
} from '@ember-decorators/argument/type';

But I get a runtime error about a desc being undefined.

Did something get renamed between versions?

alexlafroscia commented 5 years ago

Are you using the beta release or the latest stable?

jelhan commented 5 years ago

I'm seeing the same using 0.8.21 (latest stable) with ember-decorators@5.1.4 and ember-source@3.8.