fork of hey-api/openapi-ts because I need some additional things
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at feat/use-query-options 22 lines 511 B view raw
1import type { PyNodeBase } from '../base'; 2import { PyNodeKind } from '../kinds'; 3 4export type PyLiteralValue = string | number | boolean | null; 5 6export interface PyLiteral extends PyNodeBase { 7 kind: PyNodeKind.Literal; 8 value: PyLiteralValue; 9} 10 11export function createLiteral( 12 value: PyLiteralValue, 13 leadingComments?: ReadonlyArray<string>, 14 trailingComments?: ReadonlyArray<string>, 15): PyLiteral { 16 return { 17 kind: PyNodeKind.Literal, 18 leadingComments, 19 trailingComments, 20 value, 21 }; 22}