Commit e973c82
committed
fix(forms-api): resolve type errors
Adds JSDoc annotations and corrects type casting to resolve TypeScript errors in the forms-api directory.
- Adds @param and @return annotations to functions.
- Casts the `method` property in `UrlFetchApp.fetch` options to the correct type.
- Removes unhelpful try/catch blocks.
- Fixes syntax errors in `retrieve_all_responses.gs`.
- Uses `response.getContentText()` instead of string coercion.1 parent 275a497 commit e973c82
File tree
3 files changed
+165
-144
lines changed- forms-api
- demos/AppsScriptFormsAPIWebApp
- snippets
3 files changed
+165
-144
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 | | |
16 | 20 | | |
17 | | - | |
| 21 | + | |
0 commit comments