UNPKG

339 BTypeScriptView Raw
1/**
2 * Registers a callback that should be run when in a production environment
3 * before executing any functions code.
4 * Calling this function more than once leads to undefined behavior.
5 * @param callback initialization callback to be run before any function executes.
6 */
7export declare function onInit(callback: () => unknown): void;