You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when importing trasnform from HttpContextContract, it shows the following error:
"var transform: any
Property 'transform' does not exist on type 'HttpContextContract'.ts(2339)
'transform' is declared but its value is never read"
Although the code works.
The text was updated successfully, but these errors were encountered:
when importing trasnform from HttpContextContract, it shows the following error:
"var transform: any
Property 'transform' does not exist on type 'HttpContextContract'.ts(2339)
'transform' is declared but its value is never read"
As a hack, pending when this gets fixed, a simple approach I took was to import nothing from the AdonisBublebeeTSProvider in any file (in my case, I imported it in server.ts).
The type definition for the HttpRequestContent is in that file, so importing it just makes the type system aware of the transform.
when importing trasnform from HttpContextContract, it shows the following error:
"var transform: any
Property 'transform' does not exist on type 'HttpContextContract'.ts(2339)
'transform' is declared but its value is never read"
Although the code works.
The text was updated successfully, but these errors were encountered: