File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -349,7 +349,7 @@ interface ITokenStyleDefaultExtensionPoint {
349349}
350350
351351interface PackageJsonContributes {
352- languages ?: ( monaco . languages . ILanguageExtensionPoint & { configuration ?: string } ) [ ]
352+ languages ?: ( monaco . languages . ILanguageExtensionPoint & { configuration ?: string , icon ?: string } ) [ ]
353353 grammars ?: ITMSyntaxExtensionPoint [ ]
354354 configurationDefaults ?: Record < string , unknown >
355355 snippets ?: {
@@ -546,7 +546,7 @@ async function fetchExtensions () {
546546
547547 if ( languages != null ) {
548548 for ( const languageConf of languages ) {
549- const { configuration : languageConfigurationPath , ...languageWithoutConfiguration } = languageConf
549+ const { configuration : languageConfigurationPath , icon , ...languageWithoutConfiguration } = languageConf
550550 const id = languageWithoutConfiguration . id
551551 let configuration = null
552552 if ( languageConfigurationPath != null ) {
You can’t perform that action at this time.
0 commit comments