diff --git a/src/@awesome-cordova-plugins/plugins/star-prnt/index.ts b/src/@awesome-cordova-plugins/plugins/star-prnt/index.ts index 495f3454a7..93825d9508 100644 --- a/src/@awesome-cordova-plugins/plugins/star-prnt/index.ts +++ b/src/@awesome-cordova-plugins/plugins/star-prnt/index.ts @@ -880,7 +880,7 @@ export class StarPRNT extends AwesomeCordovaNativePlugin { * @returns {Promise} Success! if printed correctly or error message string returned by the SDK. */ @Cordova() - printRawText(port: string, emulation: string, printObj: PrintObj): Promise { + printRawText(port: string|null, emulation: string, printObj: PrintObj): Promise { return; } @@ -893,7 +893,7 @@ export class StarPRNT extends AwesomeCordovaNativePlugin { * @returns {Promise} Success! if printed correctly or error message string returned by the SDK. */ @Cordova() - printRasterReceipt(port: string, emulation: string, rasterObj: RasterObj): Promise { + printRasterReceipt(port: string|null, emulation: string, rasterObj: RasterObj): Promise { return; } @@ -906,7 +906,7 @@ export class StarPRNT extends AwesomeCordovaNativePlugin { * @returns {Promise} Success! if printed correctly or error message string returned by the SDK. */ @Cordova() - printImage(port: string, emulation: string, imageObj: ImageObj): Promise { + printImage(port: string|null, emulation: string, imageObj: ImageObj): Promise { return; } @@ -918,7 +918,7 @@ export class StarPRNT extends AwesomeCordovaNativePlugin { * @returns {Promise} Success! if opened or error message string returned by the SDK. */ @Cordova() - openCashDrawer(port: string, emulation: string): Promise { + openCashDrawer(port: string|null, emulation: string): Promise { return; } @@ -931,7 +931,7 @@ export class StarPRNT extends AwesomeCordovaNativePlugin { * @returns {Promise} Success! if printed correctly or error message string returned by the SDK. */ @Cordova() - print(port: string, emulation: string, commandsArray: CommandsArray): Promise { + print(port: string|null, emulation: string, commandsArray: CommandsArray): Promise { return; }