Skip to content

Commit 19dd088

Browse files
committed
Merge pull request DefinitelyTyped#5759 from mrand01/master
Updated node-jsfl-runner to 0.2.4
2 parents dfba47b + 1eaccea commit 19dd088

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

node-jsfl-runner/node-jsfl-runner-tests.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@ let myJSFL: jsfl.JSFL = {
88
}
99
}
1010

11+
let flashLocation: string = '';
12+
1113
jsfl.createJSFL(myJSFL, 'fileName.jsfl', ['Hello!'], (err: NodeJS.ErrnoException) => {
1214

1315
});
1416

15-
jsfl.runJSFL('fileName.jsfl', (err: NodeJS.ErrnoException) => {
17+
jsfl.runJSFL(flashLocation, 'fileName.jsfl', (err: NodeJS.ErrnoException) => {
1618

1719
});
1820

node-jsfl-runner/node-jsfl-runner.d.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Type definitions for node-jsfl-runner
1+
// Type definitions for node-jsfl-runner v0.2.4
22
// Project: https://www.npmjs.com/package/node-jsfl-runner
33
// Definitions by: Michael Randolph <https://github.com/mrand01>
44
// Definitions: https://github.com/borisyankov/DefinitelyTyped
@@ -28,8 +28,9 @@ declare module "node-jsfl-runner" {
2828

2929
/**
3030
* Runs a JSFL file
31+
* @param flashLocation Path to Flash executable
3132
* @param fileName Path to JSFL file to run
3233
* @param callback Callback
3334
*/
34-
function runJSFL(fileName: string, callback: (err: NodeJS.ErrnoException) => void): void;
35+
function runJSFL(flashLocation:string, fileName: string, callback: (err: NodeJS.ErrnoException) => void): void;
3536
}

0 commit comments

Comments
 (0)