src/vs/platform/undoRedo/common/undoRedoService.ts/ResourceEditStack/getClosestPastElement
class ResourceEditStack:	public getClosestPastElement(): StackElement | null {
		if (this._past.length === 0) {
			return null;
		}
		return this._past[this._past.length - 1];
	}