UNPKG

ts-auto-mock

Version:

Typescript transformer to unlock automatic mock creation for interfaces and classes

9 lines (8 loc) 294 B
import type * as ts from 'typescript'; export declare class DeclarationCache { private _declarationKeyMap; constructor(); set(declaration: ts.Declaration, key: string): void; get(declaration: ts.Declaration): string | undefined; has(declaration: ts.Declaration): boolean; }