Skip to content

Commit

Permalink
add ts-expect-error
Browse files Browse the repository at this point in the history
  • Loading branch information
mmkal committed Sep 10, 2024
1 parent e9af1bd commit 5e7a614
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/typegen/src/query/column-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,8 @@ export const analyzeAST = async (
regtype: dataType,
typescript:
dataType === 'USER-DEFINED'
? // todo: avoid needing to do this? problem in ambiguoust-tables.test.ts
? // @ts-expect-error
// todo: avoid needing to do this? problem in ambiguoust-tables.test.ts
console.log({matchingResult}) ||
describedQuery.fields.find(f => f.name === aliasInfo.queryColumn)?.typescript ||
'unknown'
Expand Down

0 comments on commit 5e7a614

Please sign in to comment.