diff --git a/src/__tests__/__snapshots__/documenter.test.ts.snap b/src/__tests__/__snapshots__/documenter.test.ts.snap index c79f2d71e5..023eeb56e0 100644 --- a/src/__tests__/__snapshots__/documenter.test.ts.snap +++ b/src/__tests__/__snapshots__/documenter.test.ts.snap @@ -12667,7 +12667,7 @@ The \`operation\` property has two valid values: "and", "or", and controls the j The \`tokens\` property is an array of objects that will be displayed to the user beneath the filtering input. When \`enableTokenGroups=true\`, the \`tokenGroups\` property is used instead, which supports nested tokens. Each token has the following properties: -* value [string]: The string value of the token to be used as a filter. +* value [unknown]: The value of the token to be used as a filter. Can be null or string for default tokens, string[] for enum tokens, and anything for tokens with custom forms. * propertyKey [string]: The key of the corresponding property in filteringProperties. * operator ['<' | '<=' | '>' | '>=' | ':' | '!:' | '=' | '!=' | '^' | '!^']: The operator which indicates how to filter the dataset using this token. ", diff --git a/src/property-filter/interfaces.ts b/src/property-filter/interfaces.ts index 12795db2e7..1663c29568 100644 --- a/src/property-filter/interfaces.ts +++ b/src/property-filter/interfaces.ts @@ -53,7 +53,7 @@ export interface PropertyFilterProps extends BaseComponentProps, ExpandToViewpor * `tokenGroups` property is used instead, which supports nested tokens. * * Each token has the following properties: - * * value [string]: The string value of the token to be used as a filter. + * * value [unknown]: The value of the token to be used as a filter. Can be null or string for default tokens, string[] for enum tokens, and anything for tokens with custom forms. * * propertyKey [string]: The key of the corresponding property in filteringProperties. * * operator ['<' | '<=' | '>' | '>=' | ':' | '!:' | '=' | '!=' | '^' | '!^']: The operator which indicates how to filter the dataset using this token. */