ts-auto-mock
Version:
Typescript transformer to unlock automatic mock creation for interfaces and classes
9 lines (8 loc) • 361 B
TypeScript
import type * as ts from 'typescript';
import { Scope } from '../../scope/scope';
import { PropertyLike } from './propertyLike';
export interface PropertyAssignments {
lazy: ts.PropertyAssignment[];
literals: ts.PropertyAssignment[];
}
export declare function GetMockPropertiesAssignments(properties: PropertyLike[], scope: Scope): PropertyAssignments;