MCPcopy
hub / github.com/nilbuild/driver.js / getConfig

Function getConfig

src/config.ts:85–87  ·  view source on GitHub ↗
(key?: K)

Source from the content-addressed store, hash-verified

83export function getConfig(): Config;
84export function getConfig<K extends keyof Config>(key: K): Config[K];
85export function getConfig<K extends keyof Config>(key?: K) {
86 return key ? currentConfig[key] : currentConfig;
87}
88
89export function setCurrentDriver(driver: Driver) {
90 currentDriver = driver;

Callers 15

getPopoverDimensionsFunction · 0.90
repositionPopoverFunction · 0.90
handleCloseFunction · 0.90
handleOverlayClickFunction · 0.90
moveNextFunction · 0.90
movePreviousFunction · 0.90
moveToFunction · 0.90
handleArrowLeftFunction · 0.90
handleArrowRightFunction · 0.90
initFunction · 0.90
driveFunction · 0.90
destroyFunction · 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…