fork of hey-api/openapi-ts because I need some additional things
at feat/skip-token 14 lines 293 B view raw
1import type { PyNodeBase } from '../base'; 2import { PyNodeKind } from '../kinds'; 3 4export interface PyComment extends PyNodeBase { 5 kind: PyNodeKind.Comment; 6 text: string; 7} 8 9export function createComment(text: string): PyComment { 10 return { 11 kind: PyNodeKind.Comment, 12 text, 13 }; 14}