adopted-ember-addons / adopted-ember-addons/ember-data-model-fragments
Array attribute typing seems to be wrong
- Lenguaje dominante
- TypeScript
- Estrellas
- 367
- Forks
- 108
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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#L151
Whereas 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
Guía de contribución
Línea de trabajo
Compare the runtime signature for `array` in addon/attributes.js at line 151 with its declaration in attributes.d.ts at line 33. Update the type information so it matches the arguments accepted by the runtime, then verify that the declaration and usage are consistent.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript, typescript
- Área
- developer-experience, frontend
- Tipo de issue
- Error
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Bien especificado
- Aptitud para principiantes
- 45/100