Skip to content

deniedFromOutcome — @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 { deniedFromOutcome } from '@gj-kit/expo-workouts';
/**
* f120's rule, as a function: a request is only evidence of DENIAL when the platform actually
* answered. An empty returned set after the Android onboarding "Go back" is byte-identical to
* denying everything, so it must never flip a scope to `'denied'`.
*
* Returns the permission strings we asked for and did not get back, or `[]` when the outcome was
* inconclusive.
*/
declare function deniedFromOutcome(requested: readonly string[], outcome: PermissionOutcomeDto): readonly string[];

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