Skip to content

Commit 4e9141b

Browse files
committed
feat(hooks): add missing type to setStackRoot
1 parent 102f36a commit 4e9141b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/createNavigationCommands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ interface SetRootCommand {
88
}
99

1010
interface SetStackRootCommand {
11-
(layout: Layout): Promise<any>
11+
<P = {}>(layout: Layout<P> | Layout<P>[]): Promise<any>
1212
<P = {}>(name: string, passProps?: P, options?: Options): Promise<any>
1313
}
1414

0 commit comments

Comments
 (0)