mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-17 23:40:18 +00:00
The Backbone-relational library allows passing in `options` to `RelationalModel.toJSON` [1], similar to the `Backbone.Model.toJSON` typing [2]. This applies the same signature from the Backbone.Model typing [2]. [1] https://github.com/PaulUithol/Backbone-relational/blob/6ce19db76bf4cf45048c8859982ebc3228379a54/backbone-relational.js#L1580 [2] https://github.com/DefinitelyTyped/DefinitelyTyped/blob/68c38a850c846788505bc8fd34398e19136983e0//types/backbone/index.d.ts#L127