![angularjs directive for anychart angularjs directive for anychart](https://s1.o7planning.com/ru/12083/images/24678578.png)
![angularjs directive for anychart angularjs directive for anychart](https://i.ytimg.com/vi/-bv4Tp06Lxg/maxresdefault.jpg)
If the compiler flag noResolve is specified, triple-slash references are ignored they neither result in adding new files, nor change the order of the files provided. It is an error for a file to have a triple-slash reference to itself. It is an error to reference a file that does not exist. Triple-slash references are resolved in a depth-first manner, in the order they have been seen in the file.Ī triple-slash reference path is resolved relative to the containing file, if a relative path is used. These root files are preprocessed in the same order they are specified.īefore a file is added to the list, all triple-slash references in it are processed, and their targets included. These are the file names specified on the command-line or in the files list in the tsconfig.json file. The process starts with a set of root files The compiler performs a preprocessing pass on input files to resolve all triple-slash reference directives.ĭuring this process, additional files are added to the compilation.
![angularjs directive for anychart angularjs directive for anychart](https://miro.medium.com/max/1400/1*oZfkNvQPg8laDulwUivzKw.png)
They also serve as a method to order the output when using out or outFile.įiles are emitted to the output file location in the same order as the input after preprocessing pass. Triple-slash references instruct the compiler to include additional files in the compilation process. It serves as a declaration of dependency between files. The /// directive is the most common of this group. If they are encountered following a statement or a declaration they are treated as regular single-line comments, and hold no special meaning. Triple-slash directives are only valid at the top of their containing file.Ī triple-slash directive can only be preceded by single or multi-line comments, including other triple-slash directives. The contents of the comment are used as compiler directives. Triple-slash directives are single-line comments containing a single XML tag.