chore(deps): adapt to typescript 6 and strict mode#1462
chore(deps): adapt to typescript 6 and strict mode#1462CommanderStorm wants to merge 16 commits into
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #1462 +/- ##
=============================================
+ Coverage 75.42% 96.31% +20.88%
=============================================
Files 219 68 -151
Lines 15168 4909 -10259
Branches 3344 785 -2559
=============================================
- Hits 11441 4728 -6713
+ Misses 2601 167 -2434
+ Partials 1126 14 -1112 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
| symbolLengthStream: Uint32Array | null, | ||
| nullabilityBuffer: BitVector | null, | ||
| ): Vector | null { | ||
| symbolTableStream: Uint8Array | undefined, |
There was a problem hiding this comment.
not sure if undefined vs null is better here.
I just know that this being uneven between calle and caller makes for lots of akward conversion casts..
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
There's too many "as something" added, which I find odd like you did I think... It would be better to avoid those if possible. |
for more information, see https://pre-commit.ci
decodeString legitimately returns undefined for columns with no recognized string encoding (e.g. all zero-length streams); the previous `as Vector` cast masked this. Type it `Vector | undefined` instead of throwing, and map to null at the property-decoder call site (its existing "absent column" signal). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
a lot more change, but sure. I updated the code to abort with better error messages on invariant violation |
geometryVector starts as null and `as GeometryVector | GpuVector` just stripped it. A feature table without a geometry column is malformed, so throw a descriptive error rather than constructing a FeatureTable with a null geometry. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Removed them, but that forced a lot of code churn, added aborts and other things. |
|
This PR is a lot to review, any chance to slice it to smaller PRs? |
|
needs breaking apart. a bit too non-atomic. |
I asked Claude to update us to ts6, which also apparently means strict mode.
A few of the changes that were nessary seem not quite right, but I need to investigate further.
PR mostly to give notice that I am working on this