fork of hey-api/openapi-ts because I need some additional things
at feat/skip-token 14 lines 588 B view raw
1import type { PyNodeBase } from './base'; 2import type { PyExpression } from './expression'; 3import type { PyDictComprehension } from './expressions/comprehensions/dict'; 4import type { PyListComprehension } from './expressions/comprehensions/list'; 5import type { PySetComprehension } from './expressions/comprehensions/set'; 6 7export type PyComprehension = PyDictComprehension | PyListComprehension | PySetComprehension; 8 9export interface PyComprehensionNode extends PyNodeBase { 10 ifs?: ReadonlyArray<PyExpression>; 11 isAsync?: boolean; 12 iterable: PyExpression; 13 target: PyExpression; 14}