@ts-ast-parser/core
Version:
Reflects a simplified version of the TypeScript AST for generating documentation
17 lines • 547 B
TypeScript
import type ts from 'typescript';
/**
* Represent the nodes that are part of a mixin
*/
export interface MixinNodes {
/**
* The function declaration that represents the mixin.
* It can also be a variable statement in case of using a
* function expression to define the mixin.
*/
function: ts.FunctionDeclaration | ts.VariableStatement;
/**
* The internal class that extends the base class provided as argument
*/
class: ts.ClassExpression | ts.ClassDeclaration;
}
//# sourceMappingURL=mixin.d.ts.map