Skip to content

Commit 6cd4137

Browse files
authored
chore: Remove star import. (#9)
1 parent 759016b commit 6cd4137

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as LaunchDarkly from '@launchdarkly/node-server-sdk';
1+
import { init } from '@launchdarkly/node-server-sdk';
22

33
// Set sdkKey to your LaunchDarkly SDK key.
44
const sdkKey = process.env.LAUNCHDARKLY_SDK_KEY ?? 'your-sdk-key';
@@ -33,7 +33,7 @@ if (sdkKey === 'your-sdk-key' || !sdkKey) {
3333
}
3434

3535

36-
const ldClient = LaunchDarkly.init(sdkKey);
36+
const ldClient = init(sdkKey);
3737

3838
// Set up the context properties. This context should appear on your LaunchDarkly contexts dashboard
3939
// soon after you run the demo.

0 commit comments

Comments
 (0)