botbuilder-core
Version:
Core components for Microsoft Bot Builder. Components in this library can run either in a browser or on the server.
18 lines • 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