18 lines
No EOL
515 B
TypeScript
18 lines
No EOL
515 B
TypeScript
/**
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License.
|
|
*/
|
|
/**
|
|
* @private
|
|
*/
|
|
export declare function shallowCopy<T>(value: T): T;
|
|
/**
|
|
* @private
|
|
* @param target a thing that will be made revocable
|
|
* @param handler an object that defines the way the new revocable object works
|
|
*/
|
|
export declare function makeRevocable<T extends Record<string, any>>(target: T, handler?: ProxyHandler<T>): {
|
|
proxy: T;
|
|
revoke(): void;
|
|
};
|
|
//# sourceMappingURL=internal.d.ts.map
|