Is it possible to "import" or somehow "include" a content of a plain Javascript files copied from browser (so there are no no external keywords) to a Typescript source code file, so the function/global vars declarations on that files can be reachable?
To me known simplistic workaround is to copy the content of the js files to the top of the ts.file, but exist there any other more elegant way?
if not got reason for this question still - it is a try for a"kind of hacking" solution on SharePoint client side, to check typo with actually existing sharepoint build-in functions on global scope.
thanks in advance for any idea?
allowJs
option.