Skip to content

Commit 8ef4d3b

Browse files
committed
fix(api): only deprecate disConnect but not disconnect
1 parent f36dc45 commit 8ef4d3b

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/core/echarts.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2724,17 +2724,15 @@ export function connect(groupId: string | EChartsType[]): string {
27242724
return groupId as string;
27252725
}
27262726

2727-
/**
2728-
* @deprecated
2729-
*/
2730-
export function disConnect(groupId: string): void {
2727+
export function disconnect(groupId: string): void {
27312728
connectedGroups[groupId] = false;
27322729
}
27332730

27342731
/**
27352732
* Alias and backward compatibility
2733+
* @deprecated
27362734
*/
2737-
export const disconnect = disConnect;
2735+
export const disConnect = disconnect;
27382736

27392737
/**
27402738
* Dispose a chart instance

0 commit comments

Comments
 (0)