Skip to content

add an array of literal objects in a backbone collection is missing #4314

Closed

Description

@pligor

Inside backbone.d.ts

and inside class Collection<TModel extends Model> extends ModelBase

this definition is missing:
add(array: any[]); //when you add a collection of models by only defining their attributes

Activity

  1. vvakame commented on May 11, 2015

    @vvakame
    Member

    @pligor please send a pull request. I'll review it.

  2. Spinarooni commented on Oct 13, 2017

    @Spinarooni
    Contributor

    I think this has been implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions