Open canrozanes opened 1 year ago
Looks like the types need updating, since the options are used for { defaultValue }
.
https://github.com/adopted-ember-addons/ember-data-model-fragments/blame/cfa5e5e1716d2508a13a0e973cf5b51c45bedb79/addon/attributes.js#L129
The following line suggest that
array
attribute takes in two arguments, type and options. https://github.com/adopted-ember-addons/ember-data-model-fragments/blob/cfa5e5e1716d2508a13a0e973cf5b51c45bedb79/addon/attributes.js#L151Whereas the existing type information defined in the line below suggest
array
attribute does not take any arguments: https://github.com/adopted-ember-addons/ember-data-model-fragments/blob/cfa5e5e1716d2508a13a0e973cf5b51c45bedb79/attributes.d.ts#L33