Fix expo types
This commit is contained in:
parent
75d929efda
commit
bbd8ef798c
|
@ -2,10 +2,16 @@ import { Accessor, JSX, createContext, createEffect, createSignal, useContext }
|
|||
import { createStore } from 'solid-js/store'
|
||||
|
||||
import { apiClient } from '../graphql/client/core'
|
||||
import { AuthorFollows, FollowingEntity } from '../graphql/schema/core.gen'
|
||||
import { Author, Community, FollowingEntity, Topic } from '../graphql/schema/core.gen'
|
||||
|
||||
import { useSession } from './session'
|
||||
|
||||
type AuthorFollows = {
|
||||
topics: Topic[]
|
||||
authors: Author[]
|
||||
communities: Community[]
|
||||
}
|
||||
|
||||
interface FollowingContextType {
|
||||
loading: Accessor<boolean>
|
||||
subscriptions: AuthorFollows
|
||||
|
|
Loading…
Reference in New Issue
Block a user