Skip to content

Commit f08cc8b

Browse files
committed
fixing type signature for run
1 parent 6666cae commit f08cc8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ export class PythonShell extends EventEmitter{
262262
* @param {Function} callback The callback function to invoke with the script results
263263
* @return {PythonShell} The PythonShell instance
264264
*/
265-
static run(scriptPath:string, options?:Options, callback?:(err:PythonShellError, output?:any[])=>any) {
265+
static run(scriptPath:string, options?:Options, callback?:(err?:PythonShellError, output?:any[])=>any) {
266266
let pyshell = new PythonShell(scriptPath, options);
267267
let output = [];
268268

0 commit comments

Comments
 (0)