UNPKG

599 BTypeScriptView Raw
1/**
2 * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 */
7declare type ReplaceableForEachCallBack = (value: unknown, key: unknown, object: unknown) => void;
8export default class Replaceable {
9 object: any;
10 type: string;
11 constructor(object: any);
12 static isReplaceable(obj1: unknown, obj2: unknown): boolean;
13 forEach(cb: ReplaceableForEachCallBack): void;
14 get(key: any): any;
15 set(key: any, value: any): void;
16}
17export {};