node-nlp
Version:
Library for NLU (Natural Language Understanding) done in Node.js
18 lines (17 loc) • 464 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 Object>(target: T, handler?: ProxyHandler<T>): {
proxy: T;
revoke(): void;
};