UNPKG

ts-auto-mock

Version:

Typescript transformer to unlock automatic mock creation for interfaces and classes

5 lines (4 loc) 294 B
import type * as ts from 'typescript'; import { InterfaceOrClassDeclaration } from '../scope/scope'; export type GenericDeclarationSupported = InterfaceOrClassDeclaration; export declare function extensionExpressionSupported(expression: ts.LeftHandSideExpression): expression is ts.Identifier;