mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-22 03:09:13 +00:00
Fix more type assertions (#230156)
* Fix more type assertions For #211878 * Fix type error
This commit is contained in:
@@ -198,7 +198,7 @@ export function createLanguageStatusItem(documentSelector: DocumentSelector, sta
|
||||
statusItem.command = {
|
||||
command: '_json.showAssociatedSchemaList',
|
||||
title: l10n.t('Show Schemas'),
|
||||
arguments: [{ schemas, uri: document.uri.toString() } as ShowSchemasInput]
|
||||
arguments: [{ schemas, uri: document.uri.toString() } satisfies ShowSchemasInput]
|
||||
};
|
||||
} catch (e) {
|
||||
statusItem.text = l10n.t('Unable to compute used schemas: {0}', e.message);
|
||||
|
||||
Reference in New Issue
Block a user