Skip to content

Support Typescript Route files #17

Description

@snowbldr

should mostly just involve looking for .rt.ts files in addition to .rt.cjs and .rt.mjs files here: https://github.com/SRFNStack/spliffy/blob/master/src/routes.mjs#L31

Once that's done, dynamically loading the route files should still work when running with ts-node, at least, that's the theory.

Once that's done, it should be functional.

After it's functional, we should revisit how routes are loaded and come up with type definitions for spliffy users to build with.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions