UNPKG

ts-simple-ast

Version:

TypeScript compiler wrapper for AST navigation and code generation.

10 lines (9 loc) 356 B
import { Constructor } from "./../../Constructor"; import { Node } from "./../common"; export interface ChildOrderableNode { /** * Sets the child order of the node within the parent. */ setOrder(order: number): this; } export declare function ChildOrderableNode<T extends Constructor<Node>>(Base: T): Constructor<ChildOrderableNode> & T;