diff --git a/docs/source/developer/ui_helpers.rst b/docs/source/developer/ui_helpers.rst index 5b6b9e563a0b..19f299d3d131 100644 --- a/docs/source/developer/ui_helpers.rst +++ b/docs/source/developer/ui_helpers.rst @@ -76,7 +76,7 @@ Here is an example to request a file. .. code:: typescript - const dialog = FileDialog.getExistingDirectory({ + const dialog = FileDialog.getOpenFiles({ iconRegistry, // IIconRegistry manager, // IDocumentManager filter: model => model.type == 'notebook' // optional (model: Contents.IModel) => boolean