@crustack/utilsexhaustiveCheckEnforce exhaustive handling for unions.Ensures all cases are handled. import { exhaustiveCheck } from '@crustack/utils' function format(status: 'idle' | 'loading' | 'success') { if (status === 'idle') return 'Idle' if (status === 'loading') return 'Loading...' if (status === 'success') return 'Done' exhaustiveCheck(status) }entriesOfPrevious PageinvariantCatch runtime errors early by asserting expected conditions.