mikkopaderes/ember-cloud-firestore-adapter

Adding model @attr options in Typescript projects

roomman opened this issue · 3 comments

@mikkopaderes did you find a solution to this? -

// @ts-ignore: TODO - find a way to set custom property in RelationshipOptions interface

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

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.

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