We use Angular 4 in one of our projects, and we are using a using a internal js library for encrypting the password. We include the encryption js file in our index.html, and all the functions are on window object. So when I am trying to invoke the encrypt function , encryptBCCBase64 ,from my component like window.encryptBCCBase64(password) I am getting an error like -
Property 'encryptBCCBase64' does not exist on type 'Window'.
So how do I call this method from my component?