mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00:53 +08:00
Added index signatures to prototype objects in 'blocks'.
This commit is contained in:
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