Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/src/vscode-dts/vscode.proposed.chatReferenceDiagnostic.d.ts
3290 views
1
/*---------------------------------------------------------------------------------------------
2
* Copyright (c) Microsoft Corporation. All rights reserved.
3
* Licensed under the MIT License. See License.txt in the project root for license information.
4
*--------------------------------------------------------------------------------------------*/
5
6
declare module 'vscode' {
7
8
export interface ChatPromptReference {
9
/**
10
* The value of this reference. The `string | Uri | Location` types are used today, but this could expand in the future.
11
*/
12
readonly value: string | Uri | Location | ChatReferenceDiagnostic | unknown;
13
}
14
15
export class ChatReferenceDiagnostic {
16
/**
17
* All attached diagnostics. An array of uri-diagnostics tuples or an empty array.
18
*/
19
readonly diagnostics: [Uri, Diagnostic[]][];
20
21
protected constructor(diagnostics: [Uri, Diagnostic[]][]);
22
}
23
}
24
25