Commit cd68bd4
committed
docs: add comments explaining mapped type subtype limitations
Document why mapped types like Required<T>, Pick<T, K> are not shown as subtypes:
- Structural subtype checks are expensive and can produce noisy results
- Mapped type semantics vary - some create subtypes, some create supertypes1 parent 22bcb2f commit cd68bd4
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
920 | 920 | | |
921 | 921 | | |
922 | 922 | | |
| 923 | + | |
923 | 924 | | |
924 | 925 | | |
925 | 926 | | |
| 927 | + | |
926 | 928 | | |
927 | 929 | | |
928 | 930 | | |
| |||
949 | 951 | | |
950 | 952 | | |
951 | 953 | | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
| 957 | + | |
| 958 | + | |
952 | 959 | | |
953 | 960 | | |
954 | 961 | | |
| |||
0 commit comments