Skip to content

Remove unnecessary instance check in the constructor#135

Open
Ajeandon wants to merge 1 commit into
woocommerce:masterfrom
Ajeandon:patch-1
Open

Remove unnecessary instance check in the constructor#135
Ajeandon wants to merge 1 commit into
woocommerce:masterfrom
Ajeandon:patch-1

Conversation

@Ajeandon

@Ajeandon Ajeandon commented Mar 5, 2024

Copy link
Copy Markdown

Refactored the WooCommerceRestApi class constructor to remove the unnecessary instance check. In modern JavaScript classes, the new keyword is required to create an instance of a class.

Refactored the WooCommerceRestApi class constructor to remove the unnecessary instance check. In modern JavaScript classes, the new keyword is required to create an instance of a class.
@carmineconversano

Copy link
Copy Markdown

please, make a pull request here: https://github.com/carmineconversano/woocommerce-rest-api-js-lib

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