UNPKG

ts-auto-mock

Version:

Typescript transformer to unlock automatic mock creation for interfaces and classes

4 lines (3 loc) 211 B
import type * as ts from 'typescript'; export type PropertyLike = ts.PropertyDeclaration | ts.PropertySignature | ts.MethodSignature; export declare function isPropertyLike(prop: ts.Node): prop is PropertyLike;