-
Notifications
You must be signed in to change notification settings - Fork 12
Implement type checking #97
Comments
Do you have any opinions on whether we should do this as a separate yarn command, or part of build/lint/test/etc.? |
Almost always happy to opine :) To make it easy for people to come into repo and be productive, I think the commands they're used to should work. E.g. running Whether that gets run in a
By that logic a typecheck wouldn't go under |
Upped priority to MN-1 because it'll help us get there faster by preventing bugs like Agoric/agoric-sdk#5260 (comment) |
There's a PR to enable this #120 but in its current state it passes CI by no longer resolving many types, leaving them as implicit The motivation for this issue is that we can detect type incompatibilities during the test-dapp-treasury integration test. If we don't have types working correctly then CI isn't worth enabling. So I'm expanding the scope of this to include that. I don't yet know what it'll take so I'm raising the estimate to be conservative. We'll know the costs better after discussing with @mhofman . I'm leaving the MN-1 release tag here but I expect it may be deferred to 1.1. |
This repo has a TypeScript config (https://github.com/Agoric/dapp-treasury/blob/main/ui/jsconfig.json) but there's no command that uses it to verify types check out.
Acceptance criteria
Examples of errors present
Duplicate ambients
Missing types
The text was updated successfully, but these errors were encountered: