From d7629ffffac1ff973c581d2c166a229a6bc2af8b Mon Sep 17 00:00:00 2001 From: Kyle Buzby Date: Tue, 27 Feb 2018 22:26:21 -0600 Subject: [PATCH] add some function types --- types/postman-collection/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/postman-collection/index.d.ts b/types/postman-collection/index.d.ts index 8ed90d8827..e0025d9bda 100644 --- a/types/postman-collection/index.d.ts +++ b/types/postman-collection/index.d.ts @@ -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;