top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to access Javascript methods in Angular Typescript?

0 votes
470 views

I need to reuse my Javascript module in typescript for my angular application. Can you guide me how to do that ?

posted Nov 20, 2018 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

You can include the javascript fine in the angular-cli.json scripts. Then you can use access the javascript methods.

scripts:[
  "javascriptFile.js"
]
answer Nov 22, 2018 by Venkatesh Reddy
...