提交 c847df3d 编写于 作者: M Matt Bierner

Remove some unused locals and types

上级 7ac8e49e
......@@ -50,9 +50,6 @@ export function renderFormattedText(formattedText: string, options: RenderOption
export function renderMarkdown(markdown: IMarkdownString, options: RenderOptions = {}): HTMLElement {
const element = createElement(options);
//@ts-ignore unused local
const { codeBlockRenderer, actionCallback } = options;
// signal to code-block render that the
// element has been created
let signalInnerHTML: Function;
......
......@@ -12,10 +12,6 @@ import { readdir, rimraf, stat } from 'vs/base/node/pfs';
import { IEnvironmentService } from 'vs/platform/environment/common/environment';
import product from 'vs/platform/node/product';
declare type OnNodeCachedDataArgs = [{ errorCode: string, path: string, detail?: string }, { path: string, length: number }];
// @ts-ignore unused local
declare const MonacoEnvironment: { onNodeCachedData: OnNodeCachedDataArgs[] };
export class NodeCachedDataCleaner {
private static _DataMaxAge = product.nameLong.indexOf('Insiders') >= 0
......
......@@ -14,7 +14,7 @@ import * as Platform from 'vs/base/common/platform';
import * as Types from 'vs/base/common/types';
import * as UUID from 'vs/base/common/uuid';
import { ValidationStatus, IProblemReporter as IProblemReporterBase, NullProblemReporter as NullProblemReporterBase } from 'vs/base/common/parsers';
import { ValidationStatus, IProblemReporter as IProblemReporterBase } from 'vs/base/common/parsers';
import {
NamedProblemMatcher, ProblemMatcher, ProblemMatcherParser, Config as ProblemMatcherConfig,
isNamedProblemMatcher, ProblemMatcherRegistry
......@@ -1648,11 +1648,6 @@ export interface IProblemReporter extends IProblemReporterBase {
clearOutput(): void;
}
// @ts-ignore unused type
class NullProblemReporter extends NullProblemReporterBase implements IProblemReporter {
clearOutput(): void { }
}
class UUIDMap {
private last: IStringDictionary<string | string[]>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册