提交 a808018f 编写于 作者: B Benjamin Pasero

fix compile errors

上级 a949694b
......@@ -98,7 +98,7 @@ export class IframeUtils {
/**
* Returns the position of `childWindow` relative to `ancestorWindow`
*/
public static getPositionOfChildWindowRelativeToAncestorWindow(childWindow: Window, ancestorWindow: Window) {
public static getPositionOfChildWindowRelativeToAncestorWindow(childWindow: Window, ancestorWindow: Window | null) {
if (!ancestorWindow || childWindow === ancestorWindow) {
return {
......
......@@ -193,7 +193,7 @@ export class ShowViewletAction extends Action {
}
export class CollapseAction extends Action {
constructor(tree: AsyncDataTree<unknown, unknown, unknown> | AbstractTree<unknown, unknown, unknown>, enabled: boolean, clazz?: string) {
constructor(tree: AsyncDataTree<any, any, any> | AbstractTree<any, any, any>, enabled: boolean, clazz?: string) {
super('workbench.action.collapse', nls.localize('collapse', "Collapse All"), clazz, enabled, () => {
tree.collapseAll();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册