Forrest logo
back to context overview

tsc

List of commands for tsc:

  • tsc:tldr:1e610 tsc: Compile a TypeScript file into a JavaScript file with a custom name.
    $ tsc --outFile ${output-js} ${input-ts}
    try on your machine
    explain this command
  • tsc:tldr:3577c tsc: Type-check multiple JavaScript files, and output only the errors.
    $ tsc --allowJs --checkJs --noEmit ${src-**-*-js}
    try on your machine
    explain this command
  • tsc:tldr:72b45 tsc: Compile a TypeScript file into JavaScript using a specific target syntax (default is `ES3`).
    $ tsc --target ${select} ${foobar-ts}
    try on your machine
    explain this command
  • tsc:tldr:b7ea0 tsc: Compile all `.ts` files of a TypeScript project defined in a `tsconfig.json` file.
    $ tsc --build ${tsconfig-json}
    try on your machine
    explain this command
  • tsc:tldr:b90f6 tsc: Run the compiler using command-line options and arguments fetched from a text file.
    $ tsc @${args-txt}
    try on your machine
    explain this command
  • tsc:tldr:cd127 tsc: Compile a TypeScript file `foobar.ts` into a JavaScript file `foobar.js`.
    $ tsc ${foobar-ts}
    try on your machine
    explain this command
back to context overview