mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
Pick up latest TS for building VS Code (#202047)
This commit is contained in:
parent
7452aaa51d
commit
284e949dac
|
@ -208,7 +208,7 @@
|
|||
"ts-loader": "^9.4.2",
|
||||
"ts-node": "^10.9.1",
|
||||
"tsec": "0.2.7",
|
||||
"typescript": "^5.4.0-dev.20231116",
|
||||
"typescript": "^5.4.0-dev.20240108",
|
||||
"typescript-formatter": "7.1.0",
|
||||
"util": "^0.12.4",
|
||||
"vscode-nls-dev": "^3.3.1",
|
||||
|
|
|
@ -41,8 +41,7 @@ interface IRenderedContainer {
|
|||
index: number;
|
||||
}
|
||||
|
||||
class TraitRenderer<T> implements IListRenderer<T, ITraitTemplateData>
|
||||
{
|
||||
class TraitRenderer<T> implements IListRenderer<T, ITraitTemplateData> {
|
||||
private renderedElements: IRenderedContainer[] = [];
|
||||
|
||||
constructor(private trait: Trait<T>) { }
|
||||
|
|
|
@ -452,8 +452,7 @@ export function observableValue<T, TChange = void>(nameOrOwner: string | object,
|
|||
|
||||
export class ObservableValue<T, TChange = void>
|
||||
extends BaseObservable<T, TChange>
|
||||
implements ISettableObservable<T, TChange>
|
||||
{
|
||||
implements ISettableObservable<T, TChange> {
|
||||
protected _value: T;
|
||||
|
||||
get debugName() {
|
||||
|
|
|
@ -182,7 +182,7 @@ export class WellDefinedPrefixTree<V> {
|
|||
}
|
||||
}
|
||||
|
||||
class Node<T> implements IPrefixTreeNode<T> {
|
||||
class Node<T> implements IPrefixTreeNode<T> {
|
||||
public children?: Map<string, Node<T>>;
|
||||
|
||||
public get value() {
|
||||
|
|
|
@ -1083,8 +1083,7 @@ export class LoggingObserver implements IObserver {
|
|||
|
||||
export class LoggingObservableValue<T, TChange = void>
|
||||
extends BaseObservable<T, TChange>
|
||||
implements ISettableObservable<T, TChange>
|
||||
{
|
||||
implements ISettableObservable<T, TChange> {
|
||||
private value: T;
|
||||
|
||||
constructor(public readonly debugName: string, initialValue: T, private readonly log: Log) {
|
||||
|
|
|
@ -66,7 +66,7 @@ interface IProcessRowTemplateData {
|
|||
readonly name: HTMLElement;
|
||||
}
|
||||
|
||||
class ProcessTreeDataSource implements IDataSource<ProcessTree, ProcessInformation | MachineProcessInformation | ProcessItem | IRemoteDiagnosticError> {
|
||||
class ProcessTreeDataSource implements IDataSource<ProcessTree, ProcessInformation | MachineProcessInformation | ProcessItem | IRemoteDiagnosticError> {
|
||||
hasChildren(element: ProcessTree | ProcessInformation | MachineProcessInformation | ProcessItem | IRemoteDiagnosticError): boolean {
|
||||
if (isRemoteDiagnosticError(element)) {
|
||||
return false;
|
||||
|
|
|
@ -14,7 +14,7 @@ import { IMarker, IMarkerData, IMarkerService, IResourceMarker, MarkerSeverity,
|
|||
|
||||
export const unsupportedSchemas = new Set([Schemas.inMemory, Schemas.vscodeSourceControl, Schemas.walkThrough, Schemas.walkThroughSnippet]);
|
||||
|
||||
class DoubleResourceMap<V>{
|
||||
class DoubleResourceMap<V> {
|
||||
|
||||
private _byResource = new ResourceMap<Map<string, V>>();
|
||||
private _byOwner = new Map<string, ResourceMap<V>>();
|
||||
|
|
|
@ -63,7 +63,7 @@ class LayoutInfo {
|
|||
) { }
|
||||
}
|
||||
|
||||
class CallHierarchyTree extends WorkbenchAsyncDataTree<CallHierarchyModel, callHTree.Call, FuzzyScore>{ }
|
||||
class CallHierarchyTree extends WorkbenchAsyncDataTree<CallHierarchyModel, callHTree.Call, FuzzyScore> { }
|
||||
|
||||
export class CallHierarchyTreePeekWidget extends peekView.PeekViewWidget {
|
||||
|
||||
|
|
|
@ -1514,7 +1514,7 @@ class RepositoryVisibilityActionController {
|
|||
}
|
||||
}
|
||||
|
||||
class SetListViewModeAction extends ViewAction<SCMViewPane> {
|
||||
class SetListViewModeAction extends ViewAction<SCMViewPane> {
|
||||
constructor(
|
||||
id = 'workbench.scm.action.setListViewMode',
|
||||
menu: Partial<IAction2Options['menu']> = {}) {
|
||||
|
@ -1547,7 +1547,7 @@ class SetListViewModeNavigationAction extends SetListViewModeAction {
|
|||
}
|
||||
}
|
||||
|
||||
class SetTreeViewModeAction extends ViewAction<SCMViewPane> {
|
||||
class SetTreeViewModeAction extends ViewAction<SCMViewPane> {
|
||||
constructor(
|
||||
id = 'workbench.scm.action.setTreeViewMode',
|
||||
menu: Partial<IAction2Options['menu']> = {}) {
|
||||
|
@ -1636,7 +1636,7 @@ registerAction2(RepositorySortByDiscoveryTimeAction);
|
|||
registerAction2(RepositorySortByNameAction);
|
||||
registerAction2(RepositorySortByPathAction);
|
||||
|
||||
abstract class SetSortKeyAction extends ViewAction<SCMViewPane> {
|
||||
abstract class SetSortKeyAction extends ViewAction<SCMViewPane> {
|
||||
constructor(private sortKey: ViewSortKey, title: string) {
|
||||
super({
|
||||
id: `workbench.scm.action.setSortKey.${sortKey}`,
|
||||
|
@ -1676,7 +1676,7 @@ registerAction2(SetSortByNameAction);
|
|||
registerAction2(SetSortByPathAction);
|
||||
registerAction2(SetSortByStatusAction);
|
||||
|
||||
class CollapseAllRepositoriesAction extends ViewAction<SCMViewPane> {
|
||||
class CollapseAllRepositoriesAction extends ViewAction<SCMViewPane> {
|
||||
|
||||
constructor() {
|
||||
super({
|
||||
|
@ -1698,7 +1698,7 @@ class CollapseAllRepositoriesAction extends ViewAction<SCMViewPane> {
|
|||
}
|
||||
}
|
||||
|
||||
class ExpandAllRepositoriesAction extends ViewAction<SCMViewPane> {
|
||||
class ExpandAllRepositoriesAction extends ViewAction<SCMViewPane> {
|
||||
|
||||
constructor() {
|
||||
super({
|
||||
|
|
|
@ -58,7 +58,7 @@ class TestTask extends CommonTask {
|
|||
}
|
||||
}
|
||||
|
||||
class TestProblemCollector extends Disposable implements Partial<AbstractProblemCollector> {
|
||||
class TestProblemCollector extends Disposable implements Partial<AbstractProblemCollector> {
|
||||
protected readonly _onDidFindFirstMatch = new Emitter<void>();
|
||||
readonly onDidFindFirstMatch = this._onDidFindFirstMatch.event;
|
||||
protected readonly _onDidFindErrors = new Emitter<void>();
|
||||
|
|
|
@ -802,7 +802,7 @@ export interface IncrementalChangeCollector<T> {
|
|||
/**
|
||||
* Maintains tests in this extension host sent from the main thread.
|
||||
*/
|
||||
export abstract class AbstractIncrementalTestCollection<T extends IncrementalTestCollectionItem> {
|
||||
export abstract class AbstractIncrementalTestCollection<T extends IncrementalTestCollectionItem> {
|
||||
private readonly _tags = new Map<string, ITestTagDisplayInfo>();
|
||||
|
||||
/**
|
||||
|
|
|
@ -64,7 +64,7 @@ class LayoutInfo {
|
|||
) { }
|
||||
}
|
||||
|
||||
class TypeHierarchyTree extends WorkbenchAsyncDataTree<TypeHierarchyModel, typeHTree.Type, FuzzyScore>{ }
|
||||
class TypeHierarchyTree extends WorkbenchAsyncDataTree<TypeHierarchyModel, typeHTree.Type, FuzzyScore> { }
|
||||
|
||||
export class TypeHierarchyTreePeekWidget extends peekView.PeekViewWidget {
|
||||
|
||||
|
|
|
@ -295,7 +295,7 @@ export function isStoredFileWorkingCopySaveEvent(e: IWorkingCopySaveEvent): e is
|
|||
return !!candidate.stat;
|
||||
}
|
||||
|
||||
export class StoredFileWorkingCopy<M extends IStoredFileWorkingCopyModel> extends ResourceWorkingCopy implements IStoredFileWorkingCopy<M> {
|
||||
export class StoredFileWorkingCopy<M extends IStoredFileWorkingCopyModel> extends ResourceWorkingCopy implements IStoredFileWorkingCopy<M> {
|
||||
|
||||
readonly capabilities: WorkingCopyCapabilities = WorkingCopyCapabilities.None;
|
||||
|
||||
|
|
|
@ -90,7 +90,7 @@ export interface IUntitledFileWorkingCopyInitialContents {
|
|||
readonly markModified?: boolean;
|
||||
}
|
||||
|
||||
export class UntitledFileWorkingCopy<M extends IUntitledFileWorkingCopyModel> extends Disposable implements IUntitledFileWorkingCopy<M> {
|
||||
export class UntitledFileWorkingCopy<M extends IUntitledFileWorkingCopyModel> extends Disposable implements IUntitledFileWorkingCopy<M> {
|
||||
|
||||
readonly capabilities = this.isScratchpad ? WorkingCopyCapabilities.Untitled | WorkingCopyCapabilities.Scratchpad : WorkingCopyCapabilities.Untitled;
|
||||
|
||||
|
|
|
@ -9770,10 +9770,10 @@ typescript@^4.7.4:
|
|||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.8.4.tgz#c464abca159669597be5f96b8943500b238e60e6"
|
||||
integrity sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==
|
||||
|
||||
typescript@^5.4.0-dev.20231116:
|
||||
version "5.4.0-dev.20231116"
|
||||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.0-dev.20231116.tgz#540e12c5cd5bea457adf2c19edb0fa396fb757c5"
|
||||
integrity sha512-arT/MwHnosyqo1MQ2xN9VzwvWo1jxrhUpa1iQX1yZACfBRJb1dQ1D2MU/Ijotjr6eXw8BZ3RFdj9X/9O56iOgw==
|
||||
typescript@^5.4.0-dev.20240108:
|
||||
version "5.4.0-dev.20240108"
|
||||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.0-dev.20240108.tgz#2b5d1a1aa0e7fc91f739cc190f4cc73944463af6"
|
||||
integrity sha512-flXeU+FYwW3mL6zcOz1lNX0juSolUIeIRs4nO8j77jB+N/3lrqWNOSz05dzRC4eYJcjFIIOvv5y9u8MQ5nTtzg==
|
||||
|
||||
typical@^4.0.0:
|
||||
version "4.0.0"
|
||||
|
|
Loading…
Reference in a new issue