elysia
elysia copied to clipboard
[Feature Request] Getting server types from remote server
Hey there, thanks for your framework!
I understand that this can be a challenge, but I think it would be a great idea to add a feature that allows developers to import server's types from a remote server. This would make it much easier to access the necessary types, regardless of where the server is located.
For example, how Deno does it, Using a triple-slash directive:
/// <reference types="https://deno.land/x/[email protected]/types.d.ts" />
or Deno Friendly CDNs
import React from "https://cdn.skypack.dev/react?dts";