Skip to content

Commit e29fac8

Browse files
Fix ChartProApi
1 parent e2482cc commit e29fac8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/x-charts-pro/src/ChartContainerPro/ChartProApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ type PluginsPerSeriesType = {
2020
* @example ChartProApi<'bar'>
2121
*/
2222
export type ChartProApi<
23-
TSeries extends keyof PluginsPerSeriesType = keyof PluginsPerSeriesType,
23+
TSeries extends keyof PluginsPerSeriesType | undefined = undefined,
2424
TSignatures extends
2525
readonly ChartAnyPluginSignature[] = TSeries extends keyof PluginsPerSeriesType
2626
? PluginsPerSeriesType[TSeries]

0 commit comments

Comments
 (0)