File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -158,7 +158,9 @@ declare module Backbone {
158
158
comparator ( compare : Model , to ?: Model ) : any ;
159
159
160
160
add ( model : Model , options ?: AddOptions ) : Collection ;
161
+ add ( model : any , options ?: AddOptions ) : Collection ;
161
162
add ( models : Model [ ] , options ?: AddOptions ) : Collection ;
163
+ add ( models : any [ ] , options ?: AddOptions ) : Collection ;
162
164
at ( index : number ) : Model ;
163
165
get ( id : any ) : Model ;
164
166
create ( attributes : any , options ?: ModelSaveOptions ) : Model ;
@@ -168,6 +170,7 @@ declare module Backbone {
168
170
remove ( model : Model , options ?: Silenceable ) : Model ;
169
171
remove ( models : Model [ ] , options ?: Silenceable ) : Model [ ] ;
170
172
reset ( models ?: Model [ ] , options ?: Silenceable ) : Model [ ] ;
173
+ reset ( models ?: any [ ] , options ?: Silenceable ) : Model [ ] ;
171
174
shift ( options ?: Silenceable ) : Model ;
172
175
sort ( options ?: Silenceable ) : Collection ;
173
176
unshift ( model : Model , options ?: AddOptions ) : Model ;
You can’t perform that action at this time.
0 commit comments