Skip to content

Commit a659e14

Browse files
committed
fix: types
1 parent 127dd03 commit a659e14

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

packages/sdk/src/client-types.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
import type { ConfigDto } from "./types";
22

33
/**
4-
* Base type for config objects
4+
* Base type for config objects.
5+
* Uses Record<string, unknown> so that keyof Configs = string,
6+
* allowing untyped clients to accept any string config name.
57
*/
6-
export type Configs = object;
8+
export type Configs = Record<string, unknown>;
79

810
/**
911
* Context object for override evaluation.

0 commit comments

Comments
 (0)