Skip to content

How to use server with typescript #874

@jakehsiao

Description

@jakehsiao

The documentation on server is only about js.

First I just copied the code in documentation into "server.js", but it failed because games are defined in typescript and js cannot import typescript modules.

Then I change it to "server.ts", but now I don't know how to run this.

So how to use server with typescript?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions