grantila / typeconv

Convert between JSON Schema, TypeScript, GraphQL, Open API and SureType
MIT License
424 stars 8 forks source link

Type 'any' not supported #40

Open BillInUK opened 11 months ago

BillInUK commented 11 months ago

i have a schema defined in operation-types.ts export type Scalars = { ID: { input: string; output: string; } String: { input: string; output: string; } Boolean: { input: boolean; output: boolean; } Int: { input: number; output: number; } Float: { input: number; output: number; } bigint: { input: any; output: any; } numeric: { input: any; output: any; } timestamptz: { input: any; output: any; } };

when i run typeconv -f ts -t gql -o gql-schemas 'src/gql/*.ts',there is error: Type 'any' not supported Type 'or' not supported

how to fix it?