提交 5c6ae4fc 编写于 作者: R Rob Lourens

Update NotebookCellStatusBarItem constructor

上级 872bbcc8
......@@ -12101,11 +12101,10 @@ declare module 'vscode' {
/**
* Creates a new NotebookCellStatusBarItem.
* @param text The text to show for the item.
* @param alignment Whether the item is aligned to the left or right.
*/
// @rob
// todo@API jsdoc for args
// todo@API should ctors only have the args for required properties?
constructor(text: string, alignment: NotebookCellStatusBarAlignment, command?: string | Command, tooltip?: string, priority?: number, accessibilityInformation?: AccessibilityInformation);
constructor(text: string, alignment: NotebookCellStatusBarAlignment);
}
/**
......
......@@ -3177,11 +3177,7 @@ export enum NotebookEditorRevealType {
export class NotebookCellStatusBarItem {
constructor(
public text: string,
public alignment: NotebookCellStatusBarAlignment,
public command?: string | vscode.Command,
public tooltip?: string,
public priority?: number,
public accessibilityInformation?: vscode.AccessibilityInformation) { }
public alignment: NotebookCellStatusBarAlignment) { }
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册