Fix types

This commit is contained in:
Steve Ruiz 2021-10-12 23:02:44 +01:00
parent 59fa1e375e
commit bd6197ea16
3 changed files with 6 additions and 6 deletions

View file

@ -12,7 +12,7 @@ import type {
import { Canvas } from '../canvas'
import { Inputs } from '../../inputs'
import { useTLTheme, TLContext, TLContextType } from '../../hooks'
import type { TLShapeUtil, TLUser, TLUsers } from '+index'
import type { TLShapeUtil, TLUsers } from '+index'
export interface RendererProps<T extends TLShape, E extends Element = any, M = any>
extends Partial<TLCallbacks<T>> {
@ -35,7 +35,7 @@ export interface RendererProps<T extends TLShape, E extends Element = any, M = a
/**
* (optional) The current users to render.
*/
users?: TLUsers
users?: TLUsers<T>
/**
* (optional) The current user's id, used to identify the user.
*/