@webviz/subsurface-viewer
Version:
3D visualization component for subsurface reservoir data
12 lines (11 loc) • 479 B
TypeScript
/** Configuration type. */
export type Config = Record<string, unknown>;
/**
* Returns the merged configuration from path and fallbackPath.
* Configuration of fallbackPath does not override the configuration from path.
* @param config configuration.
* @param path primary path.
* @param fallbackPath fallback path.
* @returns
*/
export declare function findConfig(config: Config, path: string[] | string, fallbackPath?: string[] | string | undefined): Config | undefined;