Skip to content

Commit 415de94

Browse files
committedAug 1, 2024·
fix(types): added Ref type to controls on ctx
1 parent e28a766 commit 415de94

File tree

1 file changed

+1
-1
lines changed
  • src/composables/useTresContextProvider

1 file changed

+1
-1
lines changed
 

‎src/composables/useTresContextProvider/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export interface TresContext {
5454
extend: (objects: any) => void
5555
camera: ComputedRef<Camera | undefined>
5656
cameras: DeepReadonly<Ref<Camera[]>>
57-
controls: TresControl | null
57+
controls: Ref<TresControl | null>
5858
renderer: ShallowRef<WebGLRenderer>
5959
raycaster: ShallowRef<Raycaster>
6060
perf: PerformanceState

0 commit comments

Comments
 (0)
Please sign in to comment.