-
Robert Knight authored
Add `/** @type {APICall<...>} */` annotations to methods in `APIService` to specify parameter, body and return types for methods that make API calls. The existing `APICallFunction` type was renamed to `APICall` for brevity. This required adding a few additional casts in other modules to assert that certain uses of possibly-undefined fields (eg. `annotation.id`) are safe in a particular context.
12042882
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
annotator | ||
boot | ||
images/icons | ||
shared | ||
sidebar | ||
styles | ||
test-util | ||
types | ||
.eslintrc | ||
karma.config.js | ||
tsconfig.json |