Skip to content
This repository was archived by the owner on Feb 1, 2026. It is now read-only.

Commit 650fc1c

Browse files
committed
fix(ContactShadows.vue): remove unnecessary TypeScript error suppression
- Removed the `@ts-expect-error` comments in the `blurShadow` function, as they are no longer needed. This change improves code clarity and maintains a cleaner codebase by eliminating outdated error handling comments. - The removal aligns with ongoing efforts to enhance type safety and maintainability in the project.
1 parent df06b72 commit 650fc1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/staging/ContactShadows.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,15 +165,15 @@ function blurShadow(
165165
pool.horizontalBlurMaterial.uniforms.h.value = blur / 256
166166
167167
renderer.setRenderTarget(pool.renderTargetBlur)
168-
// @ts-expect-error - TODO: wait for https://github.com/Tresjs/tres/issues/1040 to be fixed
168+
169169
renderer.render(pool.blurPlane, pool.shadowCamera)
170170
171171
pool.blurPlane.material = pool.verticalBlurMaterial
172172
pool.verticalBlurMaterial.uniforms.tDiffuse.value = pool.renderTargetBlur.texture
173173
pool.verticalBlurMaterial.uniforms.v.value = blur / 256
174174
175175
renderer.setRenderTarget(pool.renderTarget)
176-
// @ts-expect-error - TODO: wait for https://github.com/Tresjs/tres/issues/1040 to be fixed
176+
177177
renderer.render(pool.blurPlane, pool.shadowCamera)
178178
179179
pool.blurPlane.visible = false

0 commit comments

Comments
 (0)