-
Notifications
You must be signed in to change notification settings - Fork 650
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: removed irrelevants | undefined
#2524
base: main
Are you sure you want to change the base?
Conversation
Tests on Ubuntu WSL passed without problems. |
These are not (all) irrelevant, new(-er) versions of TS support differentiating between optional params ( |
I didn't know about that, that seems more relevant on object members than function parameters. even otherwise is recomended (i think) to avoid developers to write |
Certainly has some varying degrees of usefulness, true, but There's no real recommendation that I know of to disallow |
If |
...and if Anyways, just something to be aware of. |
You're right, just for this I checked for The line on docs that's using return ctx.render(undefined); I just want to leave a note, reject this PR seems razonable if someone is really worried about a possible update of the Typescript settings, if that happens please remember to add |
Just fix of few typos, nothing else.