Skip to content

Commit 1626a9d

Browse files
committed
Lint
1 parent 43e9a5d commit 1626a9d

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

packages/sdk/server-ai/src/LDClientMin.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
import { LDContext, LDFlagValue } from '@launchdarkly/js-server-sdk-common';
22

3-
3+
/**
4+
* Interface which represents the required interface components for a sever SDK
5+
* to work with the AI SDK.
6+
*/
47
export interface LDClientMin {
58
variation(
69
key: string,
710
context: LDContext,
811
defaultValue: LDFlagValue,
9-
callback?: (err: any, res: LDFlagValue) => void
12+
callback?: (err: any, res: LDFlagValue) => void,
1013
): Promise<LDFlagValue>;
1114

1215
track(key: string, context: LDContext, data?: any, metricValue?: number): void;

packages/sdk/server-ai/src/api/LDAIClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { LDContext } from '@launchdarkly/node-server-sdk';
1+
import { LDContext } from '@launchdarkly/js-server-sdk-common';
22

33
import { LDAIConfig, LDGenerationConfig } from './config/LDAIConfig';
44

0 commit comments

Comments
 (0)