mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 15:05:39 +01:00
update deps
This commit is contained in:
parent
be6a4ef68c
commit
c258dd0cec
8 changed files with 10743 additions and 6031 deletions
11
monaco.d.ts
vendored
11
monaco.d.ts
vendored
|
|
@ -170,15 +170,20 @@ declare namespace monaco.languages.typescript {
|
|||
export interface Diagnostic extends DiagnosticRelatedInformation {
|
||||
/** May store more in future. For now, this will simply be `true` to indicate when a diagnostic is an unused-identifier diagnostic. */
|
||||
reportsUnnecessary?: {};
|
||||
reportsDeprecated?: {};
|
||||
source?: string;
|
||||
relatedInformation?: DiagnosticRelatedInformation[];
|
||||
}
|
||||
interface DiagnosticRelatedInformation {
|
||||
export interface DiagnosticRelatedInformation {
|
||||
/** Diagnostic category: warning = 0, error = 1, suggestion = 2, message = 3 */
|
||||
category: 0 | 1 | 2 | 3;
|
||||
code: number;
|
||||
/** TypeScriptWorker removes this to avoid serializing circular JSON structures. */
|
||||
file: undefined;
|
||||
/** TypeScriptWorker removes all but the `fileName` property to avoid serializing circular JSON structures. */
|
||||
file:
|
||||
| {
|
||||
fileName: string;
|
||||
}
|
||||
| undefined;
|
||||
start: number | undefined;
|
||||
length: number | undefined;
|
||||
messageText: string | DiagnosticMessageChain;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue