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
nb. I tried doing this and it requires us to use schemas 😭
The tldr on this is that TypeScript really doesn't like it when we have different arguments to annotation constructors, especially for the AnnotationConstructor class.
Currently, our type checking around annotation constructors isn't strict enough and allows invalid construction of annotations.
What do you expect to happen?
Instantiating a new annotation should be a type error when the annotation requires
attributes
and the attributes are omitted from the output.The text was updated successfully, but these errors were encountered: