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
It seems that in recent version TSTypeParameter.name has been extended to be string | K.IdentifierKind.
This results in a weird type cycle, where a name can be any identifier including TSTypeParameter again. Causing client code to deal with it somehow. It seems that babel-parser tests do not have any examples of generating anything apart from plain Identifier (or string) for TStypeParameter.name.
Should this be constrained a bit more?
The text was updated successfully, but these errors were encountered:
It seems that in recent version TSTypeParameter.name has been extended to be
string | K.IdentifierKind
.This results in a weird type cycle, where a name can be any identifier including
TSTypeParameter
again. Causing client code to deal with it somehow. It seems that babel-parser tests do not have any examples of generating anything apart from plainIdentifier
(orstring
) forTStypeParameter.name
.Should this be constrained a bit more?
The text was updated successfully, but these errors were encountered: