UNPKG

react-native-studia

Version:
27 lines (17 loc) 631 B
// @flow 'use strict' import type { StudiaManager } from 'react-native-studia/src/StudiaManager' import type { NativeFeed } from 'react-native-studia/src/StudiaModules' import type { Subscriber, Base64, Feed, ObservableId, Message } from 'react-native-studia/src/Types' export class MyFeed implements NativeFeed { _manager: StudiaManager ownerId: Subscriber name: string icon: Base64 message: Message date: string token: string constructor(nativefeed: NativeFeed, manager: StudiaManager) { Object.assign(this, nativefeed, { _manager: manager }) } }