Commit 9ae33cf
committed
Fix typecheck: guard against empty codec targetTypes in SQL provider
When skipping unresolvable codecs was introduced, the narrowing from
a non-null codec lookup no longer guaranteed targetTypes[0] was
defined under noUncheckedIndexedAccess. Skip descriptors whose codec
has no target types instead of assigning undefined to nativeType.1 parent 5094a3d commit 9ae33cf
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
0 commit comments