Skip to content

Optional Methods on Request Class? #96

Answered by kwhitley
michaelmerrill asked this question in Q&A
Discussion options

You must be logged in to vote

All are optional because itty intentionally does not require a true Request object... merely an object two properties { method, url }. Our TS contributors added the optional signatures for code-hinting.

We'll investigate this, and if you find a solution, please share it!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@michaelmerrill
Comment options

Answer selected by michaelmerrill
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants