app.onStart()
types and documentation does not match and does not work
#621
Labels
bug
Something isn't working
What version of Elysia.JS is running?
1.0.13
What platform is your computer?
Microsoft Windows NT 10.0.22631.0 x64
What steps can reproduce the bug?
When I hover over
app.onStart()
, I see:However, copy pasting the code gives you:
As you can see from this image, even when I copy paste the documented code, I do not get the types.
What is the expected behavior?
Types should be available.
What do you see instead?
Types cannot be found.
Additional information
Also, string formatting is not done properly in example. The example has:
However, it should be:
The text was updated successfully, but these errors were encountered: