global: Rename with normal TypeScript module extension.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2024-05-03 15:26:58 -07:00 committed by Tim Abbott
parent 74237dfd4c
commit fd8b2c557f
2 changed files with 2 additions and 1 deletions

View File

@ -112,7 +112,7 @@ EXEMPT_FILES = make_set(
"web/src/flatpickr.ts", "web/src/flatpickr.ts",
"web/src/gear_menu.js", "web/src/gear_menu.js",
"web/src/giphy.js", "web/src/giphy.js",
"web/src/global.d.ts", "web/src/global.ts",
"web/src/hash_util.ts", "web/src/hash_util.ts",
"web/src/hashchange.js", "web/src/hashchange.js",
"web/src/hbs.d.ts", "web/src/hbs.d.ts",

View File

@ -25,6 +25,7 @@ type JQueryIdleOptions = Partial<{
declare global { declare global {
let zulip_test: any; // eslint-disable-line @typescript-eslint/no-explicit-any let zulip_test: any; // eslint-disable-line @typescript-eslint/no-explicit-any
// eslint-disable-next-line @typescript-eslint/no-namespace
namespace JQueryValidation { namespace JQueryValidation {
// eslint-disable-next-line @typescript-eslint/consistent-type-definitions // eslint-disable-next-line @typescript-eslint/consistent-type-definitions
interface ValidationOptions { interface ValidationOptions {