composebox_typeahead: Convert module to typescript.

This commit is contained in:
evykassirer
2024-04-25 14:03:00 -07:00
committed by Tim Abbott
parent 7f9361a865
commit 96c9950115
14 changed files with 776 additions and 422 deletions

View File

@@ -104,7 +104,7 @@ places:
- The frontend Markdown processor (`web/src/markdown.ts` and sometimes
`web/third/marked/lib/marked.js`), or `markdown.contains_backend_only_syntax` if
your changes won't be supported in the frontend processor.
- If desired, the typeahead logic in `web/src/composebox_typeahead.js`.
- If desired, the typeahead logic in `web/src/composebox_typeahead.ts`.
- The test suite, probably via adding entries to `zerver/tests/fixtures/markdown_test_cases.json`.
- The in-app Markdown documentation (`markdown_help_rows` in `web/src/info_overlay.ts`).
- The list of changes to Markdown at the end of this document.

View File

@@ -52,4 +52,4 @@ send a message with the raw content.
## Typeahead
Typeahead for both slash commands (and widgets) is implemented
via the `slash_commands` object in `web/src/composebox_typeahead.js`.
via the `slash_commands` object in `web/src/composebox_typeahead.ts`.