UNPKG

ts-auto-mock

Version:

Typescript transformer to unlock automatic mock creation for interfaces and classes

7 lines (6 loc) 501 B
import type * as ts from 'typescript'; import { Scope } from '../../scope/scope'; import { PropertyLike } from './propertyLike'; import { SignatureLike } from './signatureLike'; export declare function GetMockPropertiesFromSymbol(propertiesSymbol: ts.Symbol[], signatures: ReadonlyArray<ts.Signature>, scope: Scope): ts.Expression; export declare function GetMockPropertiesFromDeclarations(list: ReadonlyArray<PropertyLike>, signatures: ReadonlyArray<SignatureLike>, scope: Scope): ts.CallExpression;