Skip to content

Commit

Permalink
fix(types): added Ref type to controls on ctx
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarosabu committed Aug 1, 2024
1 parent e28a766 commit 415de94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/composables/useTresContextProvider/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export interface TresContext {
extend: (objects: any) => void
camera: ComputedRef<Camera | undefined>
cameras: DeepReadonly<Ref<Camera[]>>
controls: TresControl | null
controls: Ref<TresControl | null>
renderer: ShallowRef<WebGLRenderer>
raycaster: ShallowRef<Raycaster>
perf: PerformanceState
Expand Down

0 comments on commit 415de94

Please sign in to comment.