You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a pattern has a struct field with a privacy policy, the type that is specified in the return of the check function is missing in the import list. I.e.:
The offending line: base.tmpl#L186. Unfortunately I don't know enough about Go templating to know how to import that file appropriately.
Swahvay
changed the title
Patterns with struct fields with privacy policies generate invalid JS
Patterns with fields with privacy policies generate invalid JS
Dec 17, 2024
If a pattern has a struct field with a privacy policy, the type that is specified in the return of the check function is missing in the import list. I.e.:
Generates the following in each base class:
But
SomeEnumField
is never imported so we get TS build errors.The text was updated successfully, but these errors were encountered: