-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
Upgrading the NPM dependency to v5.9.3 results in a few failures spots:
parameters seems to be sometimes null:
| external TSNodeArray<TSParameterDeclaration> get parameters; |
| final parameters = funType.parameters.toDart |
members also seems to be sometimes null:
| external TSNodeArray<T> get members; |
| for (final member in typeDecl.members.toDart) { |
There are likely other failure spots after getting past those issues.
The first is fixable, but in the second, the type decl seems to point to a function rather than an interface, so it's not obvious what the solution is there. It's also not clear under what situations we should expect a non-nullable vs a nullable. For now, I'll pin the dependency to the current version, v5.8.3.
Metadata
Metadata
Assignees
Labels
No labels