Skip to content

Commit b0da38b

Browse files
committed
feat: add type for switchedFromTabId
1 parent 82057e1 commit b0da38b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Shared/types.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -780,4 +780,8 @@ export interface InitTabType extends CommonTabArgsType {
780780

781781
export interface DynamicTabType extends CommonTabArgsType {
782782
id: string
783+
/**
784+
* Id of the tab from which the current tab is opened
785+
*/
786+
switchedFromTabId: string | null
783787
}

0 commit comments

Comments
 (0)