-
Checkout the
package.json
scripts section for various commands. -
Generated files would be on
dist
folder. This are the files to be submitted to LeetCode -
Test files should be have
.test.ts
extensions
-
(Optional) Use extension LeetCode by ShengChen
- You'll be able to test or submit directly. Use the build files inside
dist
- You'll be able to test or submit directly. Use the build files inside
-
Included are debug run configurations for TS file
Current TS File
or Mocha Test fileCurrent TS Mocha File
- You'll probably use
Current TS Mocha File
run more if you write the test scripts first. - LeetCode already have the test scripts on the problem description anyway
- You'll probably use
Practice TS skills and write in a TDD manner.
It will not. The build
would compile the file to es6. There will be also additional code that will be generated due to the way TS transpiles the code to JS.