blueslip: More tightly annotate more_info.

This commit is contained in:
Alex Vandiver 2023-05-03 15:05:07 +00:00 committed by Tim Abbott
parent fea5a3fdb8
commit 086e64dfe4

View File

@ -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) {