Two clean-checkout typecheck failures in @lilith/i18n that also propagated to consumers (landing, provider-website): - src/types.ts imported types from 'i18next' without declaring it — added i18next to peer+devDependencies (^24.2.3, already in bun.lock) so tsc resolves it on a fresh install. - UserType union was missing 'escort' while 8 Record<UserType,...> literals in landing supply an escort entry (TS2353). Added 'escort' and the matching USER_TYPE_COLORS entry in hooks.ts (full Record literal that would otherwise go missing the key). Private workspace pkg — no publish. Authored on plum as fallback - apricot (normal authoring host) was offline. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| makeI18n | ||
| hooks.ts | ||
| index.ts | ||
| makeI18n.tsx | ||
| namespaces.ts | ||
| routes.ts | ||
| ssr.tsx | ||
| types.ts | ||