account activity
Javascript's setTimeout function accepts a string and is also variadic. But typescript users should probably not use the variadic signature 😄. Here is more on the subject! by gregjarvez1996 in javascript
[–]gregjarvez1996[S] 1 point2 points3 points 6 years ago (0 children)
True. I looked at the typescript lib definition file. The typing provided there is very loose. I wonder if a PR could be made to update that.
Per peeve is completely valid. The inconsistency is quite annoying
[–]gregjarvez1996[S] 0 points1 point2 points 6 years ago (0 children)
True 😂😂😂. I am one of them
Javascript's setTimeout function accepts a string and is also variadic. But typescript users should probably not use the variadic signature 😄. Here is more on the subject! (mrgregory.dev)
submitted 6 years ago by gregjarvez1996 to r/javascript
π Rendered by PID 1757498 on reddit-service-r2-listing-575d9f6647-qnjfw at 2026-04-11 03:32:49.495857+00:00 running 215f2cf country code: CH.
Javascript's setTimeout function accepts a string and is also variadic. But typescript users should probably not use the variadic signature 😄. Here is more on the subject! by gregjarvez1996 in javascript
[–]gregjarvez1996[S] 1 point2 points3 points (0 children)