Removed props and url

This commit is contained in:
Clayton Astrom
2018-10-24 11:26:15 -05:00
parent ccd51e7e79
commit 4e56d789dc
+1 -23
View File
@@ -1855,33 +1855,11 @@ export interface EnhancedElementInstance {
selector: string;
}
interface EnhancedPropObj {
props: {[key: string]: any};
}
interface EnhancedPropFunc {
props: () => any;
}
type props = EnhancedPropFunc | EnhancedPropObj;
interface urlString {
url: string;
}
interface urlFunc {
url: () => any;
}
type url = urlString | urlFunc;
export interface EnhancedPageObject extends SharedFunctions {
api: NightwatchAPI;
elements: {[name: string]: EnhancedElementInstance};
name: string;
props: props;
section: EnhancedSectionInstance;
url: url;
section: {[name: string]: EnhancedSectionInstance};
}
export interface EnhancedSectionInstance extends EnhancedPageObject {}