mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-01 15:50:13 +00:00
Fixed travis build #45656.1 error
This commit is contained in:
6
types/nightmare/index.d.ts
vendored
6
types/nightmare/index.d.ts
vendored
@@ -31,7 +31,7 @@ declare class Nightmare {
|
||||
select(seletor: string, option: string): Nightmare;
|
||||
upload(selector: string, path: string): Nightmare;
|
||||
download(path:string): Nightmare;
|
||||
download(action: Nightmare.IDownloadActions): Nightmare;
|
||||
download(action: "cancel" | "continue"): Nightmare;
|
||||
scrollTo(top: number, left: number): Nightmare;
|
||||
viewport(width: number, height: number): Nightmare;
|
||||
inject(type: string, file: string): Nightmare;
|
||||
@@ -178,10 +178,6 @@ declare namespace Nightmare {
|
||||
line: number;
|
||||
function?: string;
|
||||
}
|
||||
export enum IDownloadActions {
|
||||
cancel = "cancel",
|
||||
continue = "continue"
|
||||
}
|
||||
export class Cookies {
|
||||
get(): [Nightmare.ICookie];
|
||||
get(name: string): Nightmare.ICookie;
|
||||
|
||||
Reference in New Issue
Block a user