Reduce unused exports, ref #164939 (#165389)

This commit is contained in:
Raymond Zhao 2022-11-03 10:14:03 -07:00 committed by GitHub
parent 1aaf61f6b9
commit 5440af45a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 8 deletions

View file

@ -37,7 +37,7 @@ type IResolvedHoverContent = IMarkdownString | string | HTMLElement | undefined;
* Copied from src\vs\workbench\services\hover\browser\hover.ts
* @deprecated Use IHoverService
*/
export interface IHoverAction {
interface IHoverAction {
label: string;
commandId: string;
iconClass?: string;

View file

@ -42,7 +42,7 @@ class GrammarContributions implements IGrammarContributions {
}
}
export interface IEmmetActionOptions extends IActionOptions {
interface IEmmetActionOptions extends IActionOptions {
actionName: string;
}

View file

@ -1119,7 +1119,7 @@ export class SettingComplexRenderer extends AbstractSettingRenderer implements I
}
}
export class SettingArrayRenderer extends AbstractSettingRenderer implements ITreeRenderer<SettingsTreeSettingElement, never, ISettingListItemTemplate> {
class SettingArrayRenderer extends AbstractSettingRenderer implements ITreeRenderer<SettingsTreeSettingElement, never, ISettingListItemTemplate> {
templateId = SETTINGS_ARRAY_TEMPLATE_ID;
renderTemplate(container: HTMLElement): ISettingListItemTemplate {
@ -1335,7 +1335,7 @@ abstract class AbstractSettingObjectRenderer extends AbstractSettingRenderer imp
}
}
export class SettingObjectRenderer extends AbstractSettingObjectRenderer implements ITreeRenderer<SettingsTreeSettingElement, never, ISettingObjectItemTemplate> {
class SettingObjectRenderer extends AbstractSettingObjectRenderer implements ITreeRenderer<SettingsTreeSettingElement, never, ISettingObjectItemTemplate> {
override templateId = SETTINGS_OBJECT_TEMPLATE_ID;
renderTemplate(container: HTMLElement): ISettingObjectItemTemplate {
@ -1380,7 +1380,7 @@ export class SettingObjectRenderer extends AbstractSettingObjectRenderer impleme
}
}
export class SettingBoolObjectRenderer extends AbstractSettingObjectRenderer implements ITreeRenderer<SettingsTreeSettingElement, never, ISettingObjectItemTemplate> {
class SettingBoolObjectRenderer extends AbstractSettingObjectRenderer implements ITreeRenderer<SettingsTreeSettingElement, never, ISettingObjectItemTemplate> {
override templateId = SETTINGS_BOOL_OBJECT_TEMPLATE_ID;
renderTemplate(container: HTMLElement): ISettingObjectItemTemplate {
@ -1550,7 +1550,7 @@ abstract class AbstractSettingTextRenderer extends AbstractSettingRenderer imple
}
}
export class SettingTextRenderer extends AbstractSettingTextRenderer implements ITreeRenderer<SettingsTreeSettingElement, never, ISettingTextItemTemplate> {
class SettingTextRenderer extends AbstractSettingTextRenderer implements ITreeRenderer<SettingsTreeSettingElement, never, ISettingTextItemTemplate> {
templateId = SETTINGS_TEXT_TEMPLATE_ID;
override renderTemplate(_container: HTMLElement): ISettingTextItemTemplate {
@ -1568,7 +1568,7 @@ export class SettingTextRenderer extends AbstractSettingTextRenderer implements
}
}
export class SettingMultilineTextRenderer extends AbstractSettingTextRenderer implements ITreeRenderer<SettingsTreeSettingElement, never, ISettingTextItemTemplate> {
class SettingMultilineTextRenderer extends AbstractSettingTextRenderer implements ITreeRenderer<SettingsTreeSettingElement, never, ISettingTextItemTemplate> {
templateId = SETTINGS_MULTILINE_TEXT_TEMPLATE_ID;
override renderTemplate(_container: HTMLElement): ISettingTextItemTemplate {

View file

@ -56,7 +56,7 @@ export function positionFromString(str: string): Position {
return positionsByString[str];
}
export function panelOpensMaximizedSettingToString(setting: PanelOpensMaximizedOptions): string {
function panelOpensMaximizedSettingToString(setting: PanelOpensMaximizedOptions): string {
switch (setting) {
case PanelOpensMaximizedOptions.ALWAYS: return 'always';
case PanelOpensMaximizedOptions.NEVER: return 'never';