Skip to content

Commit

Permalink
Exposed _preview editor from references widget.
Browse files Browse the repository at this point in the history
With the new internal API, one can have better typing when customizing
the peek editor from `monaco`.

Signed-off-by: Akos Kitta <[email protected]>
  • Loading branch information
Akos Kitta authored and kittaakos committed Mar 24, 2021
1 parent eb119cb commit 3782e9b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/monaco/src/typings/monaco/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -987,7 +987,8 @@ declare module monaco.referenceSearch {
focusOnReferenceTree(): void;
focusOnPreviewEditor(): void;
isPreviewEditorFocused(): boolean;
_tree: ReferenceTree
_tree: ReferenceTree;
_preview: ICodeEditor;
}

// it's used as return value for referenceWidget._tree
Expand Down

0 comments on commit 3782e9b

Please sign in to comment.