UNPKG

702 BTypeScriptView Raw
1// Type definitions for gulp-protractor v1.0.0
2// Project: https://github.com/mllrsohn/gulp-protractor
3// Definitions by: Tanguy Krotoff <https://github.com/tkrotoff>
4// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
5
6/// <reference types="node" />
7
8import gulp = require('gulp');
9
10interface IOptions {
11 configFile?: string | undefined;
12 args?: Array<string> | undefined;
13 debug?: boolean | undefined;
14}
15
16interface IGulpProtractor {
17 getProtractorDir(): string;
18 protractor(options?: IOptions): NodeJS.ReadWriteStream;
19 webdriver_standalone: gulp.TaskCallback;
20 webdriver_update: gulp.TaskCallback;
21}
22
23declare var protractor: IGulpProtractor;
24export = protractor;