Parcourir la source

Fix compiler errors in toc

Martha Cryan il y a 4 ans
Parent
commit
5f81e3b478
1 fichiers modifiés avec 4 ajouts et 7 suppressions
  1. 4 7
      packages/toc-extension/src/index.ts

+ 4 - 7
packages/toc-extension/src/index.ts

@@ -13,19 +13,16 @@ import { IMarkdownViewerTracker } from '@jupyterlab/markdownviewer';
 import { INotebookTracker } from '@jupyterlab/notebook';
 import { IRenderMimeRegistry } from '@jupyterlab/rendermime';
 import { ISettingRegistry } from '@jupyterlab/settingregistry';
-import { TableOfContents } from './toc';
 import {
+  TableOfContents,
+  ITableOfContentsRegistry,
+  TableOfContentsRegistry as Registry,
   createLatexGenerator,
   createNotebookGenerator,
   createMarkdownGenerator,
   createPythonGenerator,
   createRenderedMarkdownGenerator
-} from './generators';
-import {
-  ITableOfContentsRegistry,
-  TableOfContentsRegistry as Registry
-} from './registry';
-import '../style/index.css';
+} from '@jupyterlab/toc';
 
 /**
  * Activates the ToC extension.