We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab69c81 commit ce1b8f7Copy full SHA for ce1b8f7
packages/search/lib/commands/index.ts
@@ -187,15 +187,15 @@ export enum SchemaFieldTypes {
187
188
type CreateSchemaField<
189
T extends SchemaFieldTypes,
190
- E = Record<keyof any, any>
+ E = Record<PropertyKey, unknown>
191
> = T | ({
192
type: T;
193
AS?: string;
194
} & E);
195
196
type CreateSchemaCommonField<
197
198
- E = Record<string, never>
199
> = CreateSchemaField<
200
T,
201
({
0 commit comments