diff --git a/backbone/backbone.d.ts b/backbone/backbone.d.ts index 4176724589..834ebc8318 100644 --- a/backbone/backbone.d.ts +++ b/backbone/backbone.d.ts @@ -311,14 +311,14 @@ declare module Backbone { private _updateHash(location: Location, fragment: string, replace: boolean): void; } - interface ViewOptions { - model?: TModel; - collection?: Backbone.Collection; - el?: any; - id?: string; - className?: string; - tagName?: string; - attributes?: any[]; + interface ViewOptions { + model?: TModel; + collection?: Backbone.Collection; + el?: any; + id?: string; + className?: string; + tagName?: string; + attributes?: {[id: string]: any}; } class View extends Events {