Path: blob/main/src/vscode-dts/vscode.proposed.chatReferenceDiagnostic.d.ts
3290 views
/*---------------------------------------------------------------------------------------------1* Copyright (c) Microsoft Corporation. All rights reserved.2* Licensed under the MIT License. See License.txt in the project root for license information.3*--------------------------------------------------------------------------------------------*/45declare module 'vscode' {67export interface ChatPromptReference {8/**9* The value of this reference. The `string | Uri | Location` types are used today, but this could expand in the future.10*/11readonly value: string | Uri | Location | ChatReferenceDiagnostic | unknown;12}1314export class ChatReferenceDiagnostic {15/**16* All attached diagnostics. An array of uri-diagnostics tuples or an empty array.17*/18readonly diagnostics: [Uri, Diagnostic[]][];1920protected constructor(diagnostics: [Uri, Diagnostic[]][]);21}22}232425