Something went wrong. Try again.
fork of hey-api/openapi-ts because I need some additional things
Something went wrong. Try again.
293 B · 14 lines
TypeScript
123456789101112131415import type { PyNodeBase } from '../base';import { PyNodeKind } from '../kinds';
export interface PyComment extends PyNodeBase { kind: PyNodeKind.Comment; text: string;}
export function createComment(text: string): PyComment { return { kind: PyNodeKind.Comment, text, };}