474 BTypeScriptView Raw
1declare type Sections<T> = Record<string, Methods<T>>;
2declare type Methods<T> = Record<string, T>;
4 * @description Takes a decorated api section (e.g. api.tx) and augment it with the details. It does not override what is
5 * already available, but rather just adds new missing items into the result object.
6 * @internal
7 */
8export declare function augmentObject<T>(prefix: string | null, src: Sections<T>, dst: Sections<T>, fromEmpty?: boolean): Sections<T>;
9export {};