Skip to content

Commit

Permalink
Fix error access
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Salinas authored and Daniel Salinas committed Sep 10, 2024
1 parent c7da4a2 commit 812f39d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const {{ decl_type_name }} = (() => {
{{- variant.name()|class_name(ci) }}
{%- if !loop.last %} | {% endif -%}
{%- endfor %} {
return (e as any).#__uniffiTypeName === "{{ decl_type_name }}";
return (e as any)['#__uniffiTypeName'] === "{{ decl_type_name }}";
}
return {
{%- for variant in e.variants() %}
Expand Down

0 comments on commit 812f39d

Please sign in to comment.