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

Typescript definition for method all of LDFeatureStore is incorrect #77

Description

@magne4000

The definition

https://github.com/launchdarkly/node-client/blob/master/index.d.ts#L271

all: (callback: (err: any,res: LDFlagSet)=>void)=>void;

The usage

https://github.com/launchdarkly/node-client/blob/master/index.js#L211

config.feature_store.all(function(flags){
...
});

fix

So the TS definition should be something like:

all: (callback: (res: LDFlagSet)=>void)=>void;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions