denoland / fresh

The next-gen web framework.
https://fresh.deno.dev
MIT License
12.07k stars 616 forks source link

fix: support numeric keys when rendering #2584

Closed deer closed 1 week ago

deer commented 1 week ago

I'm trying to migrate one of my projects which publishes a plugin, and this was blocking me.

Looks like key is typed as export type Key = string | number | any;, so we might need to make more changes here in the future.