File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -47,8 +47,10 @@ export type MapChanges = Map<
47
47
export interface IFactory {
48
48
/**
49
49
* Create a new `ISharedDocument` instance.
50
+ *
51
+ * It should return `undefined` if the factory is not able to create a `ISharedDocument`.
50
52
*/
51
- createNew ( options : IFactory . IOptions ) : ISharedDocument ;
53
+ createNew ( options : IFactory . IOptions ) : ISharedDocument | undefined ;
52
54
}
53
55
54
56
/**
Original file line number Diff line number Diff line change 596
596
" @jridgewell/sourcemap-codec" " 1.4.14"
597
597
598
598
" @jupyter/ydoc@file:javascript " :
599
- version "0.3.0-a2 "
599
+ version "0.3.0-a4 "
600
600
dependencies :
601
601
" @jupyterlab/nbformat" " ^3.0.0 || ^4.0.0-alpha.15"
602
602
" @lumino/coreutils" " ^1.11.0 || ^2.0.0-alpha.6"
You can’t perform that action at this time.
0 commit comments