MCPcopy Index your code
hub / github.com/apache/echarts / warnDeprecated

Function warnDeprecated

src/util/styleCompat.ts:252–260  ·  view source on GitHub ↗
(deprecated: string, insteadApproach: string)

Source from the content-addressed store, hash-verified

250}
251
252export function warnDeprecated(deprecated: string, insteadApproach: string): void {
253 if (__DEV__) {
254 const key = deprecated + '^_^' + insteadApproach;
255 if (!deprecatedLogs[key]) {
256 console.warn(`[ECharts] DEPRECATED: "${deprecated}" has been deprecated. ${insteadApproach}`);
257 deprecatedLogs[key] = true;
258 }
259 }
260}

Callers 3

styleFunction · 0.90
styleEmphasisFunction · 0.90
renderMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…