argument icon indicating copy to clipboard operation
argument copied to clipboard

What happened to importing `type`?

Open allthesignals opened this issue 7 years ago • 2 comments

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?

allthesignals avatar Mar 14 '19 16:03 allthesignals

Are you using the beta release or the latest stable?

alexlafroscia avatar Mar 15 '19 04:03 alexlafroscia

I'm seeing the same using 0.8.21 (latest stable) with [email protected] and [email protected].

jelhan avatar Mar 18 '19 23:03 jelhan