Skip to content

Commit e1244f8

Browse files
JonasDovgrigasp
andauthored
Update apps/learning-snippets/src/test/tree-widget/SubTreePaths.test.tsx
Co-authored-by: Grigas <35135765+grigasp@users.noreply.github.com>
1 parent 7e519fb commit e1244f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/learning-snippets/src/test/tree-widget/SubTreePaths.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import type { IModelConnection, Viewport } from "@itwin/core-frontend";
2222
import type { InstanceKey } from "@itwin/presentation-common";
2323

2424
// __PUBLISH_EXTRACT_START__ TreeWidget.GetSubTreePathsComponentWithTargetItemsExample
25-
type UseModelsTreeProps = Parameters<typeof useModelsTree>[0];
25+
type UseModelsTreeProps = Props<typeof useModelsTree>;
2626
type GetSubTreePathsType = NonNullable<UseModelsTreeProps["getSubTreePaths"]>;
2727

2828
function CustomModelsTreeComponentWithTargetItems({

0 commit comments

Comments
 (0)