Skip to content

Offer Typescript or Javascript version #109

@JRJurman

Description

@JRJurman

Summary

We should offer both a javascript and typescript version! I'm open to feedback about which version might be the default.

Potential Implementations

Probably should offer a flag (create-react-app has a template flag, but I don't think we need something that verbose):

npx tram-one-express app-name --ts
npx tram-one-express app-name --js

As far as what the code changes would be, we should wait until the app is simplified (#108).

It might be possible to have the typescript compiler provide a JS template (just ripping out the type definitions). If that is possible, that would allow us to minimize any code-duplication (and would scale the most easily).

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