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 {