Skip to content

Commit

Permalink
Update CmdParamsMoveCall.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
daoauth committed Jan 10, 2025
1 parent 74d3ae3 commit 3fd6059
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ export const getTypeName = (
'TypeParameter' in struct.typeArguments[0]
) {
type = typeArgs[struct.typeArguments[0].TypeParameter] as TYPE_PARAMS;
} else if (
typeof struct.typeArguments[0] === 'object' &&
'Struct' in struct.typeArguments[0]
) {
type = getTypeName(struct.typeArguments[0], typeArgs).type;
} else {
type = (
struct.typeArguments[0] as string
Expand Down

0 comments on commit 3fd6059

Please sign in to comment.