![]() specifies which referrer information to send when fetching a script. text\javascript, text\html, text\plain, application\json, application\pdf, etc. specifies the type of the containing script e.g. specifies the URI/path of an external script file executes the script after the document is parsed and before firing DOMContentLoaded event. Value anonymous do not send credentials, whereas use-credentials sends the credentials. allows error logging for sites which use a separate domain for static media. When input files are specified on the command line, tsconfig.json files are ignored.Executes the script asynchronously along with the rest of the page. ![]() By invoking tsc with no input files and a -project (or just -p) command line option that specifies the path of a directory containing a tsconfig.json file, or a path to a valid.By invoking tsc with no input files, in which case the compiler searches for the tsconfig.json file starting in the current directory and continuing up the parent directory chain.JavaScript projects can use a jsconfig.json file instead, which acts almost the same but has some JavaScript-related compiler flags enabled by default.Ī project is compiled in one of the following ways: Using tsconfig.json or jsconfig.json The tsconfig.json file specifies the root files and the compiler options required to compile the project. The presence of a tsconfig.json file in a directory indicates that the directory is the root of a TypeScript project.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |