Skip to content

Commit

Permalink
fix(execute-driver-plugin): fix bad types in execute-child module
Browse files Browse the repository at this point in the history
  • Loading branch information
boneskull committed Jan 10, 2023
1 parent 6fb05b2 commit 697b442
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/execute-driver-plugin/lib/execute-child.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {attach} from 'webdriverio';

const log = logger.getLogger('ExecuteDriver Child');
/**
* @type {Promise<void>}
* @type {(res: ScriptResult) => Promise<void>}
*/
let send;

Expand Down Expand Up @@ -176,8 +176,8 @@ if (require.main === module && _.isFunction(process.send)) {

/**
* @typedef ScriptResult
* @property {any} success
* @property {ScriptResultError} error
* @property {any} [success]
* @property {ScriptResultError} [error]
*/

/**
Expand All @@ -189,5 +189,5 @@ if (require.main === module && _.isFunction(process.send)) {
/**
* @typedef RunScriptResult
* @property {any} result
* @property {Object} logs
* @property {object} logs
*/

0 comments on commit 697b442

Please sign in to comment.