mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
quckfix for the backbone part. To fully support the marionette changes.
This commit is contained in:
1 parent
5c5275f573
commit
2d2a7cc0d4
1 file changed
+2
-1
Vendored
+2
-1
@@ -311,7 +311,8 @@ declare module Backbone {
|
||||
|
||||
interface ViewOptions<TModel extends Model> {
|
||||
model?: TModel;
|
||||
collection?: Backbone.Collection<TModel>;
|
||||
// TODO: quickfix, this can't be fixed easy. The collection does not need to have the same model as the parent view.
|
||||
collection?: Backbone.Collection<any>;
|
||||
el?: any;
|
||||
id?: string;
|
||||
className?: string;
|
||||
|
||||
Reference in new issue
Block a user