(deprecated: string, insteadApproach: string)
| 250 | } |
| 251 | |
| 252 | export 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 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…