UNPKG

mobx-state-tree

Version:

Opinionated, transactional, MobX powered state container

12 lines (11 loc) 369 B
import { IType } from "../types/type"; import { Node } from "./node"; export declare class IdentifierCache { private cache; constructor(); addNodeToCache(node: Node): this; mergeCache(node: Node): void; notifyDied(node: Node): void; splitCache(node: Node): IdentifierCache; resolve(type: IType<any, any>, identifier: string): Node | null; }