fix(zui): support transform of a default array to typescript schema #760
Annotations
2 errors
src/transforms/zui-to-typescript-type/index.test.ts > functions > bigint literals:
zui/node_modules/.pnpm/prettier@3.3.3/node_modules/prettier/index.mjs#L20685
SyntaxError: ',' expected. (1:24)
> 1 | declare const x: BigInt(100);
| ^
> 1 | declare const x: BigInt(100);
| ^
❯ Q4 node_modules/.pnpm/prettier@3.3.3/node_modules/prettier/plugins/typescript.mjs:17:76108
❯ x3 node_modules/.pnpm/prettier@3.3.3/node_modules/prettier/plugins/typescript.mjs:20:773
❯ Object.w3 [as parse] node_modules/.pnpm/prettier@3.3.3/node_modules/prettier/plugins/typescript.mjs:20:1164
❯ parse4 node_modules/.pnpm/prettier@3.3.3/node_modules/prettier/index.mjs:20685:24
❯ coreFormat node_modules/.pnpm/prettier@3.3.3/node_modules/prettier/index.mjs:21146:7
❯ formatWithCursor node_modules/.pnpm/prettier@3.3.3/node_modules/prettier/index.mjs:21348:14
❯ Module.format2 node_modules/.pnpm/prettier@3.3.3/node_modules/prettier/index.mjs:22733:25
❯ formatTs src/setup.test.ts:37:10
❯ Object.toMatchWithoutFormatting src/setup.test.ts:44:33
❯ src/transforms/zui-to-typescript-type/index.test.ts:174:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { loc: { start: { line: 1, column: 24 }, end: { line: 1, column: 24 } } }
Caused by: ud: ',' expected.
❯ md node_modules/.pnpm/prettier@3.3.3/node_modules/prettier/plugins/typescript.mjs:17:8577
❯ vd node_modules/.pnpm/prettier@3.3.3/node_modules/prettier/plugins/typescript.mjs:17:10477
❯ y0 node_modules/.pnpm/prettier@3.3.3/node_modules/prettier/plugins/typescript.mjs:17:71407
❯ $4 node_modules/.pnpm/prettier@3.3.3/node_modules/prettier/plugins/typescript.mjs:17:75969
❯ I0 node_modules/.pnpm/prettier@3.3.3/node_modules/prettier/plugins/typescript.mjs:17:75711
❯ node_modules/.pnpm/prettier@3.3.3/node_modules/prettier/plugins/typescript.mjs:20:1128
❯ K4 node_modules/.pnpm/prettier@3.3.3/node_modules/prettier/plugins/typescript.mjs:17:76262
❯ Object.w3 [as parse] node_modules/.pnpm/prettier@3.3.3/node_modules/prettier/plugins/typescript.mjs:20:1112
❯ parse4 node_modules/.pnpm/prettier@3.3.3/node_modules/prettier/index.mjs:20685:24
❯ coreFormat node_modules/.pnpm/prettier@3.3.3/node_modules/prettier/index.mjs:21146:7
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { fileName: 'estree.ts', location: { start: { line: 1, column: 23, offset: 23 }, end: { line: 1, column: 23, offset: 23 } }, index: 23, lineNumber: 1, column: 23 }
|
zui
Process completed with exit code 1.
|