# \[SOLVED\] I think there is a typo in the api

**URL:** <https://forum.playcanvas.com/t/solved-i-think-there-is-a-typo-in-the-api/35353>\
**Category:** Suggestions & Feedback\
**Created:** [March 22, 2024, 6:01pm UTC](https://forum.playcanvas.com/t/solved-i-think-there-is-a-typo-in-the-api/35353 "2024-03-22T18:01:16Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jacob\_McBride2](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/jacob_mcbride2/32/30012_2.png) [@Jacob\_McBride2](https://forum.playcanvas.com/u/Jacob_McBride2)\
**Post date:** [March 22, 2024, 6:01pm UTC](https://forum.playcanvas.com/t/solved-i-think-there-is-a-typo-in-the-api/35353/1 "2024-03-22T18:01:16Z")

</div>

Hey! I think I may have found a typo in the developer API, not a big deal, just one missing letter, but since I can’t fix it myself I thought I’d notify someone who can. 😆

“he depth bias for tuning the appearance of the shadow mapping generated by this light. Valid range is 0 to 1. Defaults to 0.05.” (“he” instead of “The”)

[Link](https://api.playcanvas.com/classes/Engine.LightComponent.html#shadowBias)

---

<div class="post-metadata">

**Author:** ![mvaligursky](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/mvaligursky/32/11681_2.png) [@mvaligursky](https://forum.playcanvas.com/u/mvaligursky)\
**Post date:** [March 23, 2024, 11:10am UTC](https://forum.playcanvas.com/t/solved-i-think-there-is-a-typo-in-the-api/35353/2 "2024-03-23T11:10:28Z")

</div>

Nice, thanks, we’ll get this fixed.

---

<div class="post-metadata">

**Author:** ![Jacob\_McBride2](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/jacob_mcbride2/32/30012_2.png) [@Jacob\_McBride2](https://forum.playcanvas.com/u/Jacob_McBride2)\
**Post date:** [March 23, 2024, 11:21am UTC](https://forum.playcanvas.com/t/solved-i-think-there-is-a-typo-in-the-api/35353/3 "2024-03-23T11:21:34Z")

</div>

I appreciate it!

---

<div class="post-metadata">

**Author:** ![mvaligursky](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/mvaligursky/32/11681_2.png) [@mvaligursky](https://forum.playcanvas.com/u/mvaligursky)\
**Post date:** [March 25, 2024, 1:01pm UTC](https://forum.playcanvas.com/t/solved-i-think-there-is-a-typo-in-the-api/35353/4 "2024-03-25T13:01:44Z")

</div>

Fixed here: [Small fixes to jsdocs by mvaligursky · Pull Request #6200 · playcanvas/engine · GitHub](https://github.com/playcanvas/engine/pull/6200)

---

<div class="post-metadata">

**Author:** ![Jacob\_McBride2](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/jacob_mcbride2/32/30012_2.png) [@Jacob\_McBride2](https://forum.playcanvas.com/u/Jacob_McBride2)\
**Post date:** [March 25, 2024, 1:50pm UTC](https://forum.playcanvas.com/t/solved-i-think-there-is-a-typo-in-the-api/35353/5 "2024-03-25T13:50:17Z")

</div>

I appreciate it! 🙂

---

<div class="post-metadata">

**Author:** ![will](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/will/32/4560_2.png) [@will](https://forum.playcanvas.com/u/will)\
**Post date:** [March 25, 2024, 6:27pm UTC](https://forum.playcanvas.com/t/solved-i-think-there-is-a-typo-in-the-api/35353/6 "2024-03-25T18:27:26Z")

</div>

Aaaand the API reference is now updated with these fixes:

> **[LightComponent | PlayCanvas API Reference](https://api.playcanvas.com/classes/Engine.LightComponent.html#shadowBias)**
>
> Combined API reference manual for PlayCanvas

Enjoy! 😃

---

<div class="post-metadata">

**Author:** ![Jacob\_McBride2](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/jacob_mcbride2/32/30012_2.png) [@Jacob\_McBride2](https://forum.playcanvas.com/u/Jacob_McBride2)\
**Post date:** [March 25, 2024, 11:09pm UTC](https://forum.playcanvas.com/t/solved-i-think-there-is-a-typo-in-the-api/35353/7 "2024-03-25T23:09:02Z")

</div>

If I ever do come across another typo or such I will let you guys know. Thanks for updating for better readability! 😄
