Implement 3rd party libraries(based on javascript) with typescript. Typescript doesn't recognize a library built with javascript.
npm i @types/my-untyped-module
npm i lodash
npm install --save @types/lodash
<!-- index.html -->
<body>
<script>
var GLOBAL = 'This is test'
</script>
</body>
// app.ts
declare var GLOBAL: string;
console.log(GLOBAL) // This is test