Add option to use notebook json contents instead of file string when creating a notebook. (#18972)

This commit is contained in:
Cory Rivera
2022-04-08 16:39:14 -07:00
committed by GitHub
parent 828c6760e2
commit c2cc32a4a0
4 changed files with 44 additions and 19 deletions

View File

@@ -1009,7 +1009,7 @@ export interface INotebookShowOptions {
providerId?: string;
connectionProfile?: azdata.IConnectionProfile;
defaultKernel?: azdata.nb.IKernelSpec;
initialContent?: string;
initialContent?: string | azdata.nb.INotebookContents;
initialDirtyState?: boolean;
}