Skip to content

assertNeverWorkoutsCode — @gj-kit/expo-workouts

A public function from @gj-kit/expo-workouts. The signature below is taken directly from the 0.1.1 release declaration.

import { assertNeverWorkoutsCode } from '@gj-kit/expo-workouts';
/**
* Call it from a `switch` default so a future code becomes a compile error for you.
* ⚠ This is only honest because the code union is CLOSED for 1.x: adding a code is a major.
*/
declare function assertNeverWorkoutsCode(code: never): never;

This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.

  • Package: @gj-kit/expo-workouts
  • Version: 0.1.1
  • Public entry: .
  • Source: GitHub