Add types for query, remove type assertions and switch to inference where possible #26
75.63% of diff hit (target 0.00%)
View this Pull Request on Codecov
75.63% of diff hit (target 0.00%)
Annotations
Check warning on line 36 in app/analytics/query.ts
codecov / codecov/patch
app/analytics/query.ts#L36
Added line #L36 was not covered by tests
Check warning on line 41 in app/analytics/query.ts
codecov / codecov/patch
app/analytics/query.ts#L41
Added line #L41 was not covered by tests
Check warning on line 220 in app/analytics/query.ts
codecov / codecov/patch
app/analytics/query.ts#L211-L220
Added lines #L211 - L220 were not covered by tests
Check warning on line 291 in app/analytics/query.ts
codecov / codecov/patch
app/analytics/query.ts#L282-L291
Added lines #L282 - L291 were not covered by tests
Check warning on line 359 in app/analytics/query.ts
codecov / codecov/patch
app/analytics/query.ts#L352-L359
Added lines #L352 - L359 were not covered by tests
Check warning on line 438 in app/analytics/query.ts
codecov / codecov/patch
app/analytics/query.ts#L430-L438
Added lines #L430 - L438 were not covered by tests
Check warning on line 16 in app/lib/utils.ts
codecov / codecov/patch
app/lib/utils.ts#L15-L16
Added lines #L15 - L16 were not covered by tests