Skip to content

Commit

Permalink
add single trailing comma
Browse files Browse the repository at this point in the history
  • Loading branch information
juancastillo0 committed May 23, 2024
1 parent 5750e43 commit 0cedc87
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -821,8 +821,10 @@ GlobalTy? _getGlobalType(Object value) {
TableTy? _getTableType(Object value) {
final t = _getType(value);
if (t == null) return null;
final ty = ValueTy.values.firstWhere((value) =>
value.name.toLowerCase() == (t['element']! as String).toLowerCase());
final ty = ValueTy.values.firstWhere(
(value) =>
value.name.toLowerCase() == (t['element']! as String).toLowerCase(),
);
return TableTy(
element: ty,
minimum: t['minimum']! as int,
Expand Down

0 comments on commit 0cedc87

Please sign in to comment.