mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 19:18:59 +01:00
update internal API to allow parameter label to be an offset-range of its the signature label, #56337
This commit is contained in:
@@ -578,7 +578,7 @@ export namespace ParameterInformation {
|
||||
}
|
||||
export function to(info: modes.ParameterInformation): types.ParameterInformation {
|
||||
return {
|
||||
label: info.label,
|
||||
label: typeof info.label === 'string' ? info.label : '', //todo@joh
|
||||
documentation: htmlContent.isMarkdownString(info.documentation) ? MarkdownString.to(info.documentation) : info.documentation
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user