Skip to content

Feature: add typescript integration - #4

Open
sammyl720 wants to merge 1 commit into
bradtraversy:mainfrom
sammyl720:typescript-integration
Open

Feature: add typescript integration#4
sammyl720 wants to merge 1 commit into
bradtraversy:mainfrom
sammyl720:typescript-integration

Conversation

@sammyl720

Copy link
Copy Markdown

Include typescript integration

Features
  1. Use ES6 module imports
  2. Use enums for image size options
  3. Use interfaces for route request body validation
Notes

All typescript code is contained within the src folder.

The dev script will execute and watch the typescript code for changes

npm run dev

There is a build script to transpile the code to javascript to a dist folder

npm run build

The start script expects that the typescript has already been transpiled to the dist folder

npm start

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant