Forráskód Böngészése

Add JupyterLabPlugin type and some docs.

Afshin Darian 8 éve
szülő
commit
a9ac439c6a
1 módosított fájl, 11 hozzáadás és 0 törlés
  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> {
   /**