Skip to content

Commit

Permalink
chore: add type specifier for eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyJasonBennett committed Jan 3, 2025
1 parent d77a800 commit 92bd979
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Selection.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as THREE from 'three'
import React, { createContext, useState, useContext, useEffect, useRef, useMemo } from 'react'
import { ThreeElements } from '@react-three/fiber'
import { type ThreeElements } from '@react-three/fiber'

export type Api = {
selected: THREE.Object3D[]
Expand Down
2 changes: 1 addition & 1 deletion src/util.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { RefObject } from 'react'
import { Vector2 } from 'three'
import * as THREE from 'three'
import { type ReactThreeFiber, ThreeElement, extend, useThree } from '@react-three/fiber'
import { type ReactThreeFiber, type ThreeElement, extend, useThree } from '@react-three/fiber'
import type { Effect, BlendFunction } from 'postprocessing'

export const resolveRef = <T,>(ref: T | React.RefObject<T>) =>
Expand Down

0 comments on commit 92bd979

Please sign in to comment.