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

Commit d2f5fb6

Browse files
authored
Merge pull request #18 from launchdarkly/eb/ch105213/ts-fix
update TypeScript signature for change in constructor type
2 parents cd05c56 + fc04847 commit d2f5fb6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
/**
44
* Interface for the DynamoDB feature store component to be used with the LaunchDarkly SDK.
55
*
6-
* See: https://docs.launchdarkly.com/v2.0/docs/using-a-persistent-feature-store
6+
* See: https://docs.launchdarkly.com/sdk/features/database-integrations
77
*/
88

99
declare module 'launchdarkly-node-server-sdk-dynamodb' {
10-
import { LDFeatureStore, LDLogger } from 'launchdarkly-node-server-sdk';
10+
import { LDFeatureStore, LDLogger, LDOptions } from 'launchdarkly-node-server-sdk';
1111
import { DynamoDB } from 'aws-sdk';
1212

1313
/**
@@ -23,7 +23,7 @@ declare module 'launchdarkly-node-server-sdk-dynamodb' {
2323
* Options for configuring the feature store.
2424
*/
2525
options?: LDDynamoDBOptions
26-
): LDFeatureStore;
26+
): (config: LDOptions) => LDFeatureStore;
2727

2828
/**
2929
* Options for configuring a DynamoDBFeatureStore.

0 commit comments

Comments
 (0)