Trying to understand the purpose of keyword "number"

Hello I've been following the web tutorial that theo put out and Im at the part where he brings in a type from trpc and he defines that by putting in [number] at the end. I'm just confused on the significance of that keyword is that JavaScript thing. I have never seen it before. Im just looking for an explanation. Thanks
Screenshot_2023-05-02_at_2.28.02_PM.png
Was this page helpful?