The current test suite under spec/ is being transpiled to JS and executed, but no type-checking is currently being enforced. As a result of that, lots of typing errors have been introduced into the test suite.
Repro:
yarn tsc -p spec/tsconfig.json
Expected: no type errors
Actual: lots and lots of errors
Once this problem is resolved, the tsc typecheck should be added to the CI suite so that we can avoid introduction of new errors in future commits.