Can not clear font style (for #95932)

This commit is contained in:
Martin Aeschlimann 2020-04-24 18:34:07 +02:00
parent 752e671aef
commit a420f837f8

View file

@ -801,7 +801,7 @@ function readCustomTokenStyleRules(tokenStylingRuleSection: IExperimentalTokenSt
}
function isTokenColorizationSetting(style: any): style is ITokenColorizationSetting {
return style && (style.foreground || style.fontStyle);
return style && (types.isString(style.foreground) || types.isString(style.fontStyle));
}