ember-cloud-firestore-adapter icon indicating copy to clipboard operation
ember-cloud-firestore-adapter copied to clipboard

Adding model @attr options in Typescript projects

Open roomman opened this issue 2 years ago • 1 comments

@mikkopaderes did you find a solution to this? -https://github.com/mikkopaderes/ember-cloud-firestore-adapter/blob/9f584e53d90269ae3559c11eae0695fbee60d91b/tests/dummy/app/models/group.ts#L25

I'm seeing errors wherever I use the isRealtime option in TS Model definitions, and was hoping to avoid @ts-ignore.

roomman avatar Oct 21 '22 07:10 roomman

No, I have not as of the moment. I would've loved for the type of ember-data relationships to have catch all properties but it just isn't like that at the moment.

mikkopaderes avatar Oct 22 '22 02:10 mikkopaderes

https://github.com/DefinitelyTyped/DefinitelyTyped/pull/64993

charlesfries avatar Apr 06 '23 20:04 charlesfries

Thanks @charlesfries, updating to the latest ember-data types closes this issue.

roomman avatar Apr 07 '23 21:04 roomman