Skip to content

Commit 47db262

Browse files
committed
fix: export the type
1 parent ecdd4df commit 47db262

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/test-pages-util/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
// SPDX-License-Identifier: Apache-2.0
33

44
import PermutationsView from "./permutations-view";
5-
import createPermutations from "./permutations";
5+
import { createPermutations, ComponentPermutations } from "./permutations";
66

7-
export { createPermutations, PermutationsView };
7+
export { createPermutations, PermutationsView, ComponentPermutations };

src/test-pages-util/permutations.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export type ComponentPermutations<Props> = {
66
[prop in keyof Props]: ReadonlyArray<Props[prop]>;
77
};
88

9-
export default function createPermutations<Props>(permutations: Array<ComponentPermutations<Props>>) {
9+
export function createPermutations<Props>(permutations: Array<ComponentPermutations<Props>>) {
1010
return flatten(permutations.map(set => doCreatePermutations(set)));
1111
}
1212

0 commit comments

Comments
 (0)