mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-01-15 23:59:08 +00:00
14 lines
281 B
TypeScript
14 lines
281 B
TypeScript
import { EventEmitter } from 'expo-modules-core';
|
|
|
|
const emitter = new EventEmitter({} as any);
|
|
|
|
export default {
|
|
PI: Math.PI,
|
|
async setValueAsync(value: string): Promise<void> {
|
|
emitter.emit('onChange', { value });
|
|
},
|
|
hello() {
|
|
return 'Hello world! 👋';
|
|
},
|
|
};
|