Skip to content

Get nested type from OASOutput #1002

Answered by ardatan
Ashraf-Ali-aa asked this question in Q&A
Discussion options

You must be logged in to vote

type Address = OASOutput<NormalizeOAS<typeof oas>, '/user/:id', 'POST', 200>['user']['address']

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Ashraf-Ali-aa
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