expo-modules-core
Version:
The core of Expo Modules architecture
11 lines (6 loc) • 333 B
text/typescript
'use client';
import { ensureNativeModulesAreInstalled } from './ensureNativeModulesAreInstalled';
import type { SharedObject as SharedObjectType } from './ts-declarations/SharedObject';
ensureNativeModulesAreInstalled();
const SharedObject = globalThis.expo.SharedObject as typeof SharedObjectType;
export default SharedObject;