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
Since the typeAnnotation is required, attempting to create a TSTypeOperator by calling the function isn't possible. It can only be done by using the .from() method instead.
The call signature should have a second parameter for the typeAnnotation
The current TSTypeOperatorBuilder interface:
Since the typeAnnotation is required, attempting to create a TSTypeOperator by calling the function isn't possible. It can only be done by using the
.from()
method instead.The call signature should have a second parameter for the typeAnnotation
Some code to reproduce the error can be viewed here.
https://astexplorer.net/#/gist/2328ddf6e049e141a5db2293d6d67668/27d29233f044354b19d639701ceff667448b4b55
The text was updated successfully, but these errors were encountered: