Skip to content

Commit bb594a0

Browse files
authored
Merge pull request #1248 from JamesGelok/patch-1
fixes typo in doc comment for UnionToIntersection
2 parents 174f54d + 6d69fc8 commit bb594a0

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)