From bf3421a2396ce35471f00407c4d78af9d3a58b3e Mon Sep 17 00:00:00 2001 From: iapyang Date: Sat, 8 May 2021 16:49:36 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E7=B1=BB=E5=9E=8B=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- typescript/core/controller/controller.layer.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/typescript/core/controller/controller.layer.ts b/typescript/core/controller/controller.layer.ts index 53d762918e..509cfa81bd 100644 --- a/typescript/core/controller/controller.layer.ts +++ b/typescript/core/controller/controller.layer.ts @@ -1,13 +1,14 @@ import { Controller } from './controller'; export declare class LayerController extends Controller { - make(name: string, container: any, op: any, context: any): T; + make(name: string, op: any, context?: any): T; + make(name: string, container: any, op?: any, context?: any): T; - create(name: string, from: any, op: any, context: any): T; + create(name: string, from?: any, op?: any, context?: any): T; - hide(name: string, callback: boolean): LayerController; + hide(name: string, callback?: boolean): LayerController; - show(name: string, callback: boolean): LayerController; + show(name: string, callback?: boolean): LayerController; isVisible(name: string): boolean;