jupyter-js-widgets.d.ts 557 B

123456789101112131415161718192021
  1. // Copyright (c) Jupyter Development Team.
  2. // Distributed under the terms of the Modified BSD License.
  3. declare module Widgets {
  4. export class ManagerBase {
  5. display_view(msg: any, view: any, options: any): Promise<any>;
  6. handle_comm_open(comm: shims.services.Comm, msg: any): Promise<any>;
  7. }
  8. export module shims {
  9. export module services {
  10. export class Comm {
  11. constructor(comm: any);
  12. }
  13. }
  14. }
  15. }
  16. declare module "jupyter-js-widgets" {
  17. export = Widgets;
  18. }