UNPKG

343 BTypeScriptView Raw
1/**
2 * Returns a read-only proxy that just forwards everything to a target,
3 * and a function that can be used to change that underlying target
4 */
5export declare function createUpdatableTargetProxy<T extends object>(initialTarget: T): {
6 proxy: T;
7 setTarget: (target: T) => void;
8};
9//# sourceMappingURL=updatable-target-proxy.d.ts.map
\No newline at end of file