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 means that when I use these types through jscodeshift, the compiler gets mad:
j.MemberExpression.name
// Property 'name' does not exist on type 'Type<MemberExpression>'.
// Property 'name' does not exist on type 'ArrayType<MemberExpression>'
Would it be correct to change the type generator to state that these are all PredicateTypes?
The text was updated successfully, but these errors were encountered:
It appears that all the values exported through
namedTypes
arePredicateType
sbut all of the
let
declarations innamedTypes.ts
state that they areType
sast-types/gen/namedTypes.ts
Lines 1617 to 1619 in 53123a2
and that's specified here
ast-types/script/gen-types.ts
Line 149 in 53123a2
and it is of course technically true
ast-types/lib/types.ts
Lines 11 to 16 in 53123a2
but means that when I use these types through jscodeshift, the compiler gets mad:
Would it be correct to change the type generator to state that these are all
PredicateType
s?The text was updated successfully, but these errors were encountered: