My JavaScript code makes heavy use of globals for jQuery widgets.
Right now I am declaring type definitions in .d.ts files which I store in a customTypes directory.
Is there a way to declare these type definitions within the jQuery widget files themselves and therefore not have two files to modify everytime I need to modify the widget.
Thanks!