Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(star-prnt): allow null port for print methods and openCashDrawer #4095

Merged

Conversation

JCTInfinity
Copy link
Contributor

@JCTInfinity JCTInfinity commented Mar 18, 2022

According to comments (and confirmed with testing), the print methods and openCashDrawer should accept null for the port to use the connected printer. However, these methods' port arguments are typed to only accept strings. This PR adds |null to the port arguments typing.

@danielsogl danielsogl changed the title StarPrnt - Allow null port for print methods and openCashDrawer feat(star-prnt): allow null port for print methods and openCashDrawer Apr 2, 2022
@danielsogl danielsogl merged commit a17dba1 into danielsogl:master Apr 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants