Closed chadoh closed 2 years ago
You had to do this before, for non-string return types:
const result = contract.view(…) as CustomType;
Now you do this:
const result: CustomType = contract.view(…);
You had to do this before, for non-string return types:
Now you do this: