Skip to content

Commit

Permalink
Fix: shapes.ts linter
Browse files Browse the repository at this point in the history
  • Loading branch information
teyc committed Dec 20, 2024
1 parent 041d008 commit c96174f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -491,8 +491,8 @@ const generateShapeMap = () => {
...shapesDefs.flatMap((shape) => {
const aliases = [
shape.shortName,
...('aliases' in shape ? shape.aliases : []),
...('internalAliases' in shape ? shape.internalAliases : []),
...('aliases' in shape ? (shape.aliases ?? []) : []),
...('internalAliases' in shape ? (shape.internalAliases ?? []) : []),
];
return aliases.map((alias) => [alias, shape.handler] as const);
}),
Expand Down

0 comments on commit c96174f

Please sign in to comment.