near / near-workspaces-js

Write tests once, run them both on NEAR TestNet and a controlled NEAR Sandbox local environment
https://near.github.io/near-workspaces-js/
GNU General Public License v3.0
42 stars 22 forks source link

fix: always typecast to user-specified type #88

Closed willemneal closed 2 years ago

willemneal commented 2 years ago

Fixes up #81.

ALWAYS casting to the user-specified type, rather than possibly returning null.

This makes it easier to specify return types for view and call.