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
But when .$castTo and .as is combined it's a type error
eb.ref("healthScaleStepJson.healthScaleStepJson","->>").key("id").$castTo<FormComponentId>().as("formComponentId"),// <--- Property 'as' does not exist on type 'JSONPathBuilder
My guess is that this could be fixed if TraversedJSONPathBuilder.$castTo (and .$notNull which is very similar) returned TraversedJSONPathBuilder instead of JSONPathBuilder.
The text was updated successfully, but these errors were encountered:
Hi,
TraversedJSONPathBuilder.as
typechecks correctly:TraversedJSONPathBuilder.$castTo
typechecks correctly:But when
.$castTo
and.as
is combined it's a type errorMy guess is that this could be fixed if
TraversedJSONPathBuilder
.$castTo
(and .$notNull
which is very similar) returnedTraversedJSONPathBuilder
instead ofJSONPathBuilder
.The text was updated successfully, but these errors were encountered: