소스 검색

Add JupyterLabPlugin type and some docs.

Afshin Darian 8 년 전
부모
커밋
a9ac439c6a
1개의 변경된 파일11개의 추가작업 그리고 0개의 파일을 삭제
  1. 11 0
      src/application/index.ts

+ 11 - 0
src/application/index.ts

@@ -9,6 +9,17 @@ import {
   ApplicationShell
 } from './shell';
 
+
+/**
+ * The type for all JupyterLab plugins.
+ */
+export
+type JupyterLabPlugin<T> = Application.IPlugin<JupyterLab, T>;
+
+
+/**
+ * JupyterLab is the main application class. It is instantiated once and shared.
+ */
 export
 class JupyterLab extends Application<ApplicationShell> {
   /**