add repo-wide typechecking
Some checks are pending
CI / Validate (push) Waiting to run

This commit is contained in:
dirtydishes 2026-05-29 02:19:30 -04:00
parent 85ad7f7387
commit e9e2723c28
30 changed files with 380 additions and 44 deletions

View file

@ -157,7 +157,7 @@ const nbboHistoryByContract: ContextHistory<OptionNBBO> = new Map();
const equityQuoteHistoryByUnderlying: ContextHistory<EquityQuote> = new Map();
const OPTION_CONTEXT_PRUNE_INTERVAL_MS = 60_000;
const pruneContextHistory = <T extends { ts: number }>(
const pruneContextHistory = <T extends { ts: number; seq: number }>(
history: ContextHistory<T>,
maxKeys: number,
ttlMs: number,