Skip to content

Commit ab48ced

Browse files
authored
Improve DockLayout code documentation
1 parent dc6bbaa commit ab48ced

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/widgets/src/docklayout.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,8 @@ export class DockLayout extends Layout {
346346
this._root = Private.realizeAreaConfig(
347347
mainConfig,
348348
{
349-
createTabBar: () => this._createTabBar(),
349+
// Ignoring optional `document` argument as we must reuse `this._document`
350+
createTabBar: (document?: Document | ShadowRoot) => this._createTabBar(),
350351
createHandle: () => this._createHandle()
351352
},
352353
this._document

0 commit comments

Comments
 (0)