Use 'import type' for '@jupyterlab/nbformat' (#157153)

This is a type only dev dep so we should prevent referencing it as a value
This commit is contained in:
Matt Bierner
2022-08-04 14:46:53 -07:00
committed by GitHub
parent 44c38244ef
commit 68912bd844
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import * as nbformat from '@jupyterlab/nbformat';
import type * as nbformat from '@jupyterlab/nbformat';
import * as detectIndent from 'detect-indent';
import * as vscode from 'vscode';
import { defaultNotebookFormat } from './constants';