blueslip: Add a more specific type.

This commit is contained in:
Alex Vandiver
2023-05-02 18:21:30 +00:00
committed by Tim Abbott
parent 086e64dfe4
commit 52c613471a

View File

@@ -62,7 +62,7 @@ async function get_context(location: StackFrame): Promise<NumberedLine[] | undef
if (fileName === undefined || lineNumber === undefined) {
return undefined;
}
let sourceContent;
let sourceContent: string;
try {
sourceContent = await sourceCache[fileName];
} catch {