Skip to content

inferMediaContentType — @gj-kit/expo-media

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

import { inferMediaContentType } from '@gj-kit/expo-media';
/** 관대 추론 — 항상 값을 준다. mime이 미디어를 지목하면 그것을, 아니면 이미지 폴백. */
declare function inferMediaContentType(mime?: string | null, nameOrUri?: string | null): MediaContentType;

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-media
  • Version: 0.6.1
  • Public entry: .
  • Source: GitHub