Skip to content

support for typescript? #2

Description

@Cody2333

It would be better to get type-safe rpc like functions for client to use.
I need to manually add type defintions currently. Is there any plan offering a better support for typescript?

declare module "https://au215ybu51.us.aircode.run/index" {
  export function add(a: number, b: number): Promise<number>;
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions