Repository navigation
Commit 0cd75d4
committed
fix(types): use nonbroken implementation of
the old implementation of `Or` appears to have a strange bug relating to type evaluation
when certain generic types are passed in.
a github issue has been filed regarding this: microsoft/TypeScript#52068
in the meantime, a separate implementation that doesnt see this bug has replaced the original.
this separate implementation, like the original, does not distribute the typesOr
1 parent d62e82d commit 0cd75d4
1 file changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
0 commit comments