File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import * as CSInterface from "./v9" ;
22
3- export function evalScript ( script : string , callback : ( result ?: any ) => void ) : Promise < any > {
3+ export function evalScript ( script : string , callback ? : ( result ?: any ) => void ) : Promise < any > {
44 /**
55 *
66 * @param {* } value
Original file line number Diff line number Diff line change @@ -515,7 +515,7 @@ export default class CSInterface {
515515 * @param callback Optional. A callback function that receives the result of execution.
516516 * If execution fails, the callback function receives the error message EvalScript_ErrMessage.
517517 */
518- evalScript ( script : string , callback : ( result ?: any ) => void | null ) : void {
518+ evalScript ( script : string , callback ? : ( result ?: any ) => void | null ) : void {
519519 if ( callback === null || callback === undefined ) {
520520 callback = function ( result ) {
521521 } ;
You can’t perform that action at this time.
0 commit comments