Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.

Conversation

dlau
Copy link
Contributor

@dlau dlau commented May 16, 2017

Adds typescript definitions to this npm module.

From now on, any changes to the client API should also be reflected in the typescript definitions.

@jkodumal
Copy link
Contributor

👍

@dlau dlau merged commit 66041c9 into master May 16, 2017
/**
* The LaunchDarkly static global.
*/
export function init(key: string, user: LDUser, options?: LDOptions): LDClient;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the user: LDUser param meant to be here?
It doesn't seem to align with new_client fn (exported as init): https://github.com/launchdarkly/node-client/blob/142a7dd1d78bf10c31d7df1f7fb454ff19664b3c/index.js#L19

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catch, that definitely shouldn't be there.

Will patch in a few, thanks @natebrennand

@natebrennand natebrennand mentioned this pull request May 17, 2017
eli-darkly added a commit that referenced this pull request Mar 14, 2018
fix optimistic locking logic to retry updates as needed
@eli-darkly eli-darkly deleted the typescript branch August 20, 2019 16:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants