Skip to content

Instantly share code, notes, and snippets.

@r7kamura
Created December 5, 2018 08:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save r7kamura/7c2148053e88902a98c17efa9de27f68 to your computer and use it in GitHub Desktop.
Save r7kamura/7c2148053e88902a98c17efa9de27f68 to your computer and use it in GitHub Desktop.
$ tsc --init
message TS6071: Successfully created a tsconfig.json file.
$ cat -e tsconfig.json | tail
    // "sourceRoot": "",                      /* Specify the location where debugger should locate TypeScript files instead of source locations. */$
    // "mapRoot": "",                         /* Specify the location where debugger should locate map files instead of generated locations. */$
    // "inlineSourceMap": true,               /* Emit a single file with source maps instead of having a separate file. */$
    // "inlineSources": true,                 /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */$
$
    /* Experimental Options */$
    // "experimentalDecorators": true,        /* Enables experimental support for ES7 decorators. */$
    // "emitDecoratorMetadata": true,         /* Enables experimental support for emitting type metadata for decorators. */$
  }$
}%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment