Skip to content

Commit 6d69fc8

Browse files
authored
fixes typo in doc comment for UnionToIntersection
1 parent 174f54d commit 6d69fc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/toolkit/src/tsHelpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export type DispatchForMiddlewares<M> = M extends ReadonlyArray<any>
8282
: never
8383

8484
/**
85-
* Convert a Union type `(A|B)` to and intersecion type `(A&B)`
85+
* Convert a Union type `(A|B)` to an intersection type `(A&B)`
8686
*/
8787
export type UnionToIntersection<U> = (
8888
U extends any ? (k: U) => void : never

0 commit comments

Comments
 (0)