In old versions of Typescript it was required to add the famous
///
label to add the required references. Now after version
First off, I don't believe filesGlob
is officially supported yet: https://github.com/Microsoft/TypeScript/issues/1927
Now as far as the triple slash reference, it is not required as long as everything is referenced in files
in tsconfig.json.
You'll find that if you use a tool like tsd
or typings
to manage type definitions for your external libraries, they will create a single file that you include in tsconfig.json; that single file will use triple slash references to include the rest of the files.
You can find more information about triple slash references in the TypeScript Handbook