Browse Source

chore: 类型修改

es6
iapyang 4 years ago
parent
commit
bf3421a239
  1. 9
      typescript/core/controller/controller.layer.ts

9
typescript/core/controller/controller.layer.ts

@ -1,13 +1,14 @@
import { Controller } from './controller'; import { Controller } from './controller';
export declare class LayerController extends Controller { export declare class LayerController extends Controller {
make<T>(name: string, container: any, op: any, context: any): T; make<T>(name: string, op: any, context?: any): T;
make<T>(name: string, container: any, op?: any, context?: any): T;
create<T>(name: string, from: any, op: any, context: any): T; create<T>(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; isVisible(name: string): boolean;

Loading…
Cancel
Save