Skip to content

Commit 50c165e

Browse files
committed
total-typescript#21: Remove the default type argument from the selectors generic
1 parent fbcda6f commit 50c165e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/04-generics-advanced/20.7-working-around-partial-inference.problem.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Equal, Expect } from "../helpers/type-utils";
22

33
export const makeSelectors = <
44
TSource,
5-
TSelectors extends Record<string, (source: TSource) => any> = {},
5+
TSelectors extends Record<string, (source: TSource) => any>,
66
>(
77
selectors: TSelectors,
88
) => {

0 commit comments

Comments
 (0)