mirror of
https://github.com/zulip/zulip.git
synced 2026-06-30 21:11:04 +08:00
blueslip: More tightly annotate more_info.
This commit is contained in:
parent
fea5a3fdb8
commit
086e64dfe4
@ -88,7 +88,7 @@ export function warn(msg: string, more_info?: unknown): void {
|
||||
|
||||
class BlueslipError extends Error {
|
||||
override name = "BlueslipError";
|
||||
more_info?: unknown;
|
||||
more_info?: object;
|
||||
constructor(msg: string, more_info?: object | undefined) {
|
||||
super(msg);
|
||||
if (more_info !== undefined) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user