Non-typescript users should see better errors if they pass invalid arguments to public methods. We should using invariant to assert the type of incoming inputs and provide descriptive errors if they're incorrect.
- Make use of
ts-invariant
- Any public APIs (
api.request, useApiQuery, etc.) should validate parameters using invariant