JSFunction's should only accept and return JS types. Allows landing of external restrictions here: https://dart-review.googlesource.com/c/sdk/+/316867/9