Yoshiya Hinosawa
Yoshiya Hinosawa
@devingfx What happens if you change the below: ``` console.log( await doc(toFileUrl(resolve('./Object/foo.js'))) ) ``` to ``` console.log( await doc(toFileUrl(resolve('./Object/foo.js')).href) ) ```
fixed by #282
I'm still in favor.
If a value is typed as `any`, static type checking doesn't work, and there are many builtin APIs which return `any` (`JSON.parse()`, `response.json()`, etc).
Can we close this now?
@kitsonk Ah, I misread the issue.. Moving back to std.
I'm in favor of including some kind of `Middleware` type in the way we can use them with `Deno.serve` and also in any frameworks such as fresh, oak, hono, aleph,...
I'd like to hear the opinion from @aapoalas
Note: @aapoalas's proposal is discussed here: https://github.com/denoland/deno/pull/19099 I generally agree with the above. Let's keep this open and revisit when stabilization or token proposal made any progress
Closing due to the inactivity.