FBI_kingmohbil
FBI_kingmohbil
HHono
Created by FBI_kingmohbil on 8/24/2024 in #help
how can I specify the return type of the response of API response
For example I want to do something like this
type a = (c:any) => JSON<{message: string}>
c.get('/', (): a => {})
type a = (c:any) => JSON<{message: string}>
c.get('/', (): a => {})
9 replies