UNPKG

@telegram-apps/bridge

Version:

TypeScript package to provide communication layer between Mini App and Telegram application.

8 lines (7 loc) 332 B
/** * Wires the specified property in the object preventing it from being overwritten. Instead, it * enhances the previous value by merging the current one with the passed one. * @param obj - object. * @param prop - object property to rewire. */ export declare function defineEnhanceableProperty(obj: any, prop: string): void;