Closed
Description
Hi - it looks like we need to update to a newer version of JS interop here. @srujzs - can you advise what the changes should be? I assume this would be mostly mechanical; if you can give pointers to one or two of the issues below I can extrapolate for the rest. Thanks!
For Dart 3.1.0-294.0.dev
:
error • lib/main.dart:21:29 • The argument type 'String' can't be assigned to the parameter type 'JSString'. •
argument_type_not_assignable
error • lib/main.dart:22:13 • The getter 'isEmpty' isn't defined for the type 'JSString'. Try importing the library that defines
'isEmpty', correcting the name to the name of an existing getter, or defining a getter or field named 'isEmpty'. •
undefined_getter
error • lib/main.dart:23:13 • A value of type 'String' can't be assigned to a variable of type 'JSString'. Try changing the type of the
variable, or casting the right-hand type to 'JSString'. • invalid_assignment
error • lib/main.dart:27:32 • The argument type 'String' can't be assigned to the parameter type 'JSString'. •
argument_type_not_assignable
error • lib/main.dart:28:16 • The getter 'isEmpty' isn't defined for the type 'JSString'. Try importing the library that defines
'isEmpty', correcting the name to the name of an existing getter, or defining a getter or field named 'isEmpty'. •
undefined_getter
error • lib/main.dart:29:16 • A value of type 'String' can't be assigned to a variable of type 'JSString'. Try changing the type of the
variable, or casting the right-hand type to 'JSString'. • invalid_assignment
...
Metadata
Metadata
Assignees
Labels
No labels