mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 00:07:07 +00:00
add some function types
This commit is contained in:
Vendored
+2
-2
@@ -7,9 +7,9 @@
|
||||
export class PropertyBase {
|
||||
constructor(definition: any);
|
||||
|
||||
findInParents(property: string, customizer?: any): any ; // TODO Update customizer function def
|
||||
findInParents(property: string, customizer?: (item: any) => boolean): PropertyBase ;
|
||||
|
||||
findParentContaining(property: any, customizer: any): any; // TODO Update customizer function def
|
||||
findParentContaining(property: any, customizer: (item: any) => boolean): PropertyBase;
|
||||
|
||||
forEachParent(iterator: (item: any) => void): void;
|
||||
forEachParent(options: any /* TODO | boolean*/, iterator: (item: any) => void): void;
|
||||
|
||||
Reference in New Issue
Block a user