seamapi / edgespec

☃️ an API framework for everywhere.
MIT License
5 stars 2 forks source link

type web handler objects (`Request`, `Response`, `RouteFn`, `FetchEvent`) #17

Closed mxsdev closed 10 months ago

mxsdev commented 10 months ago

Adds type handlers for "web handler" objects in types/web-handler.ts. This fixes the build errors 👍

I also removed everything under std for now. I understand the idea there, since the wintercg spec can shift from the node.js one, however a bunch of the codebase wasn't importing from it anyway. I think we should find a better way to enforce usage through "std" if we're going to have it there.

Fixes #15

mxsdev commented 10 months ago

gonna wait on @codetheweb before merging