mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
blueslip: Add a more specific type.
This commit is contained in:
committed by
Tim Abbott
parent
086e64dfe4
commit
52c613471a
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user