inferImageContentType — @gj-kit/expo-media
A public function from @gj-kit/expo-media/core. The signature below is taken directly from the 0.6.1 release declaration.
Verified import example
Section titled “Verified import example”import { inferImageContentType } from '@gj-kit/expo-media/core';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** * 전신 `inferContentType`. 폴백은 `image/jpeg`. * * ⚠ **반환값에 분기가 걸린다** — 호스트의 HEIC/HEIF 프리뷰 분기가 이 값을 읽는다 * (`pendingPhotos.ts:56,131,143`). 폴백을 바꾸면 프리뷰 경로가 조용히 달라진다. */declare function inferImageContentType(mime?: string | null, nameOrUri?: string | null): ImageContentType;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.
Release context
Section titled “Release context”- Package:
@gj-kit/expo-media - Version:
0.6.1 - Public entry:
./core - Source: GitHub