From 2f413cea559dd01ff77db7c2aacd566a047aa689 Mon Sep 17 00:00:00 2001 From: Alec Merdler Date: Sun, 7 Jan 2018 00:25:51 -0800 Subject: [PATCH] Nightwatch.js - add page objects (#21743) --- types/nightwatch/index.d.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/types/nightwatch/index.d.ts b/types/nightwatch/index.d.ts index e71fcec6be..741f743934 100644 --- a/types/nightwatch/index.d.ts +++ b/types/nightwatch/index.d.ts @@ -4,8 +4,10 @@ // Connor Schlesiger // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped -export interface NightwatchCustomPageObjects { - page: {}; +/* tslint:disable:max-line-length */ + +export interface NightWatchCustomPageObjects { + page: {[name: string]: () => NightWatchBrowser}; } export interface NightwatchDesiredCapabilities {