Anders Kaseorg
f7a7cfea62
js: Fix @typescript-eslint/restrict-plus-operands.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2021-09-22 18:06:06 -07:00
Anders Kaseorg
a0f8cf2d6f
blueslip: Use built-in date formatting.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2021-09-22 18:06:06 -07:00
Anders Kaseorg
ba610440ab
js: Fix @typescript-eslint/no-floating-promises.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2021-09-22 18:06:06 -07:00
Anders Kaseorg
d840d80ed4
tsconfig: Enable noImplicitOverride.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2021-09-13 10:10:34 -07:00
Anders Kaseorg
98194b9316
blueslip: Remove SAVE_FRONTEND_STACKTRACES setting.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2021-07-07 09:26:02 -07:00
Priyank Patel
0aff593ed9
blueslip: Correctly type more_info parameter as optional.
...
This was incorrectly typed as a required argument before.
2021-07-05 17:04:06 -07:00
Priyank Patel
81e2c3825c
js: Export variables instead of setting them on window.
2021-06-22 16:54:03 -07:00
Priyank Patel
c862c673af
ts: Convert blueslip module to TypeScript.
...
We turn off the eslint no-use-before-define for TypeScript files
because it does not work correctly for types. There is already
a typescript-eslint version of it that is enabled for TS.
We also update the error handler on window to use instanceof check
for ErrorEvent instead of checking the error property.
2021-06-22 09:09:36 -07:00