twing
Version:
First-class Twig engine for Node.js
8 lines (7 loc) • 361 B
TypeScript
import { TwingBaseNode, TwingBaseNodeAttributes } from "../node";
export type TwingCommentNodeAttributes = TwingBaseNodeAttributes & {
data: string;
};
export interface TwingCommentNode extends TwingBaseNode<"comment", TwingCommentNodeAttributes> {
}
export declare const createCommentNode: (data: string, line: number, column: number) => TwingCommentNode;