Skip to content

Commit

Permalink
fix: type problems solved
Browse files Browse the repository at this point in the history
  • Loading branch information
emrahyurttutan committed Dec 16, 2024
1 parent f4c3b6f commit 78b013f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .storybook/stories/ShadowAlpha.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import { Meta, StoryObj } from '@storybook/react'
import { Setup } from '../Setup'

import { useFrame } from '@react-three/fiber'
import { BufferGeometry, MeshStandardMaterial, type Mesh } from 'three'
import { BufferGeometry, MeshStandardMaterial } from 'three'
import type { Mesh } from 'three'
import { Icosahedron, Plane, ShadowAlpha } from '../../src'

export default {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
"semantic-release": "^24.2.0",
"serve": "^14.2.4",
"storybook": "^8.4.4",
"three": "^0.151.0",
"three": "^0.161.0",
"ts-node": "^10.9.2",
"typescript": "^5.6.3",
"vite": "^5.4.11",
Expand Down
3 changes: 2 additions & 1 deletion src/core/Shadow.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import * as React from 'react'
import { Mesh, Color, DoubleSide, type PlaneGeometry, type MeshBasicMaterial } from 'three'
import { Mesh, Color, DoubleSide } from 'three'
import type { PlaneGeometry, MeshBasicMaterial } from 'three'
import { ForwardRefComponent } from '../helpers/ts-utils'

type Props = JSX.IntrinsicElements['mesh'] & {
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2894,7 +2894,7 @@ __metadata:
stats.js: "npm:^0.17.0"
storybook: "npm:^8.4.4"
suspend-react: "npm:^0.1.3"
three: "npm:^0.151.0"
three: "npm:^0.161.0"
three-mesh-bvh: "npm:^0.7.8"
three-stdlib: "npm:^2.34.0"
troika-three-text: "npm:^0.52.0"
Expand Down Expand Up @@ -12228,10 +12228,10 @@ __metadata:
languageName: node
linkType: hard

"three@npm:^0.151.0":
version: 0.151.3
resolution: "three@npm:0.151.3"
checksum: 10c0/892d2addd439e500b37669a86368c09a0a71dc404868b0347d48b5606ebd3264d2e9cce3cb85bc9ac83dc5cac8cc718ed0e9ef7cd22cad9f1233ea4c32108255
"three@npm:^0.161.0":
version: 0.161.0
resolution: "three@npm:0.161.0"
checksum: 10c0/0314e0b11c717042cc6cec983d6e2832ed416e4ab996b1340ff25335bbf71c529415856ae2de42952faeae284202368e7f1c6e3fd5a7c73d2b68108e5fb3c057
languageName: node
linkType: hard

Expand Down

0 comments on commit 78b013f

Please sign in to comment.