Skip to content

Commit

Permalink
fix: only exclude record number
Browse files Browse the repository at this point in the history
  • Loading branch information
psteinroe committed Jan 3, 2023
1 parent d51c26a commit 51dd431
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/transform-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export const transformTypes = z
});

let parsedTypes = typeStrings
.filter((s) => !s.includes('Record<'))
.filter((s) => !s.includes('Record<number'))
.join(';\n');

for (const { name, formattedName } of enumNames) {
Expand Down

0 comments on commit 51dd431

Please sign in to comment.