mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 01:41:08 +02:00
TypeScript's ReturnType<> inference truncates large object literals, showing only ~27 of 37 methods. This caused 5 apps to skip type-check because verifyTwoFactor, signInWithPasskey, sendMagicLink, etc. were invisible to consumers. Fix: Define explicit AuthServiceInterface with all 37 methods and use it as the return type of createAuthService(). This ensures all methods are visible regardless of object literal size. Verified: chat/web and presi/web now pass svelte-check for auth methods. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| adapters | ||
| clients | ||
| core | ||
| events | ||
| interceptors | ||
| types | ||
| index.ts | ||