mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 23:37:04 +00:00
Correction
This commit is contained in:
Vendored
+1
-1
@@ -107,7 +107,7 @@ declare class Nightmare {
|
||||
html(path: string, saveType: 'MHTML'): Nightmare;
|
||||
pdf(path: string): Nightmare;
|
||||
pdf(path: string, options: Object): Nightmare;
|
||||
pdf(cd:(err:Error, data:Buffer)=>void): Nightmare;
|
||||
pdf(cb: (err: Error, data: Buffer) => void): Nightmare;
|
||||
title(): string;
|
||||
title(cb: (title: string) => void): Nightmare;
|
||||
url(cb: (url: string) => void): Nightmare;
|
||||
|
||||
@@ -196,7 +196,6 @@ new Nightmare()
|
||||
})
|
||||
.run(done)
|
||||
|
||||
|
||||
new Nightmare()
|
||||
.goto('http://www.google.com/')
|
||||
.wait('input')
|
||||
|
||||
Reference in New Issue
Block a user