mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-17 11:24:29 -05:00
fix #15666: mark file as optional in Diagnostic
This commit is contained in:
@@ -3355,9 +3355,9 @@ namespace ts {
|
||||
}
|
||||
|
||||
export interface Diagnostic {
|
||||
file: SourceFile;
|
||||
start: number;
|
||||
length: number;
|
||||
file: SourceFile | undefined;
|
||||
start: number | undefined;
|
||||
length: number | undefined;
|
||||
messageText: string | DiagnosticMessageChain;
|
||||
category: DiagnosticCategory;
|
||||
code: number;
|
||||
|
||||
Reference in New Issue
Block a user