mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-11 12:00:27 +08:00
Added index signatures to prototype objects in 'blocks'.
This commit is contained in:
1 parent
7ed5ae7715
commit
58a1b6b848
1 file changed
+5
Vendored
+5
@@ -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<T> {
|
||||
|
||||
Reference in new issue
Block a user