Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
docs: Change extensions from .js to .ts for some filenames.
sbansal19999e4529c48bee
diff --git a/docs/subsystems/html-css.md b/docs/subsystems/html-css.mdindex d738438a30f..efe69d36a74 100644--- a/docs/subsystems/html-css.md+++ b/docs/subsystems/html-css.md@@ -200,10 +200,10 @@ needs to be accessible from one of the entry points defined either in- If you plan to only use the file within the app proper, and not on the loginpage or other standalone pages, put it in the `app` bundle by importing it- in `web/src/bundles/app.js`.+ in `web/src/bundles/app.ts`.- If it needs to be available both in the app and alllogged-out/portico pages, import it to- `web/src/bundles/common.js` which itself is imported to the+ `web/src/bundles/common.ts` which itself is imported to the`app` and `common` bundles.- If it's just used on a single standalone page which is only used ina development environment (e.g. `/devlogin`) create a new entrydiff --git a/docs/subsystems/logging.md b/docs/subsystems/logging.mdindex a4d11849da3..11c8d3a1d82 100644--- a/docs/subsystems/logging.md+++ b/docs/subsystems/logging.md@@ -191,7 +191,7 @@ might use). In development, this means displaying a highly visibleoverlay over the message view area, to make exceptions in testing anew feature hard to miss.-- Blueslip is implemented in `web/src/blueslip.js`.+- Blueslip is implemented in `web/src/blueslip.ts`.- In order to capture essentially any error occurring in the browser,Blueslip listens for the `error` event on `window`, and has methodsfor being manually triggered by Zulip JavaScript code for warningsdiff --git a/docs/subsystems/typing-indicators.md b/docs/subsystems/typing-indicators.mdindex c4b3ab89d73..a5a66747e4d 100644--- a/docs/subsystems/typing-indicators.md+++ b/docs/subsystems/typing-indicators.md@@ -115,7 +115,7 @@ The main goal is then to triage which events should lead todisplay changes.The web app client maintains a list of incoming "typists" using-code in `web/src/typing_data.js`. The API here has functions+code in `web/src/typing_data.ts`. The API here has functionslike the following:- `add_typist`diff --git a/docs/translating/internationalization.md b/docs/translating/internationalization.mdindex 426ebf615af..5bcfd54a6a7 100644--- a/docs/translating/internationalization.md+++ b/docs/translating/internationalization.md@@ -239,7 +239,7 @@ $("#foo").html(The only HTML tags allowed directly in translated strings are thesimple HTML tags enumerated in `default_html_elements`-(`web/src/i18n.js`) with no attributes. This helps to avoid+(`web/src/i18n.ts`) with no attributes. This helps to avoidexposing HTML details to translators. If you need to include morecomplex markup such as a link, you can define a custom HTML taglocally to the translation:diff --git a/web/tests/example1.test.js b/web/tests/example1.test.jsindex d794fd22e88..3c61d40e7cf 100644--- a/web/tests/example1.test.js+++ b/web/tests/example1.test.js@@ -20,7 +20,7 @@ const people = zrequire("people");const stream_data = zrequire("stream_data");const util = zrequire("util");-// Let's start with testing a function from util.js.+// Let's start with testing a function from util.ts.//// The most basic unit tests load up code, call functions,// and assert truths:diff --git a/web/tests/i18n.test.js b/web/tests/i18n.test.jsindex 6e4507acbc0..c6a40ee0526 100644--- a/web/tests/i18n.test.js+++ b/web/tests/i18n.test.js@@ -26,7 +26,7 @@ require("../src/templates");// All of our other tests stub out i18n activity;// here we do a quick sanity check on the engine itself.-// `i18n.js` initializes FormatJS and is imported by+// `i18n.ts` initializes FormatJS and is imported by// `templates.js`.unmock_module("../src/i18n");const {$t, $t_html, get_language_name, get_language_list_columns, initialize} = zrequire("i18n");