MCPcopy
hub / github.com/apache/echarts / registerImpl

Function registerImpl

src/core/impl.ts:30–37  ·  view source on GitHub ↗
(name: string, impl: any)

Source from the content-addressed store, hash-verified

28
29// TODO Type
30export function registerImpl(name: string, impl: any) {
31 if (__DEV__) {
32 if (implsStore[name]) {
33 error(`Already has an implementation of ${name}.`);
34 }
35 }
36 implsStore[name] = impl;
37}
38
39export function getImpl(name: string) {
40 if (__DEV__) {

Callers

nothing calls this directly

Calls 1

errorFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…