Skip to content
This repository has been archived by the owner on Jan 20, 2020. It is now read-only.

Fix cancelAllOrders compile error. #303

Merged
merged 1 commit into from
Apr 10, 2018
Merged

Fix cancelAllOrders compile error. #303

merged 1 commit into from
Apr 10, 2018

Conversation

blair
Copy link
Contributor

@blair blair commented Apr 8, 2018

Make the args argument required, but make its product_id property
optional, so it's still easy to not set it.

index.d.ts(225,56): error TS1016: A required parameter cannot follow an optional parameter.

Make the args argument required, but make its product_id property
optional, so it's still easy to not set it.

index.d.ts(225,56): error TS1016: A required parameter cannot follow an optional parameter.
@blair blair mentioned this pull request Apr 8, 2018
@fb55 fb55 merged commit 3fd3b03 into coinbase:master Apr 10, 2018
@blair blair deleted the fix-cancel-all-orders-first-arg-optional-error branch April 14, 2018 01:12
@fuksi
Copy link

fuksi commented May 2, 2018

@fb55 It seems that this change is not published yet, since the latest version still have the error https://github.com/coinbase/gdax-node/blob/v0.7.0/index.d.ts#L225

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants