From 58a1b6b8487a4532d528dd1d334694d59863562c Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Fri, 21 Aug 2015 17:44:51 -0700 Subject: [PATCH] Added index signatures to prototype objects in 'blocks'. --- blocks/blocks.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/blocks/blocks.d.ts b/blocks/blocks.d.ts index ad492333e..6e57ec762 100644 --- a/blocks/blocks.d.ts +++ b/blocks/blocks.d.ts @@ -579,6 +579,8 @@ interface ViewPrototype { route?: any; url?: string }; + + [propertyName: string]: any; } ///////////////////////////////////////// @@ -643,6 +645,8 @@ interface ModelPrototype { destroy?: { url?: string }; update?: { url?: string }; }; + + [propertyName: string]: string | boolean | Object | Validator; } ///////////////////////////////////////// @@ -682,6 +686,7 @@ interface CollectionPrototype { destroy?: { url?: string }; update?: { url?: string }; }; + [propertyName: string]: any; } interface Extendable {