Using TypeScript to enforce policy decisions (cookie consent, email opt out, –.) | Hacker News Reader