i am following this tutorial in nativescript and it states to put
/// <reference path="./node_modules/nativescript-barcodescanner/barcodescanner.d.ts" /> Needed for autocompletion and compilation.
in references.d.ts . my question is what does this file do and where is it located in a nativescript application