Skip to content

Commit f53a27e

Browse files
Merge pull request microsoft#27515 from basarat/master
📝 Better description of Pick mapped type
2 parents 5666be6 + c86b9ca commit f53a27e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/es5.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1410,7 +1410,7 @@ type Readonly<T> = {
14101410
};
14111411

14121412
/**
1413-
* From T pick a set of properties K
1413+
* From T, pick a set of properties whose keys are in the union K
14141414
*/
14151415
type Pick<T, K extends keyof T> = {
14161416
[P in K]: T[P];

0 commit comments

Comments
 (0)