You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Importing 3rd party libs with/without type definitions [doc request] #2257
What's the angular-cli (webpack) way to import a js lib without any type definitions?
For the doc request, can we get many more (and detailed) 3rd party examples in the docs? One of the biggest advantages of js is all the code out there. I think it would save people a lot of trouble if they had a lot of examples and explanations to guide them. I had this worked out with systemjs, but I ran into different issues for different libs. It would be great if someone who really understands angular-cli/webpack could try and use a wide variety of js libs (old/new, popular/obscure, with/without definitions) and just document what they did to get it to work--from download/install, config edits, type definition edits, hacks, all the way to the actual import statement (with location) they used. Would be especially great to have the logic of these steps explained.
@matt-erhart - the issue tracker is for project bugs and project feature requests as noted in CONTRIBUTING.md. For better support, consider creating a question on StackOverflow with all the details.
Activity
matt-erhart commentedon Sep 20, 2016
To answer my first question,
serhiisol commentedon Sep 21, 2016
It's not the case, you should provide definitions for typescript directly, but not to CLI.
JanStureNielsen commentedon Sep 21, 2016
@matt-erhart - the issue tracker is for project bugs and project feature requests as noted in CONTRIBUTING.md. For better support, consider creating a question on StackOverflow with all the details.
filipesilva commentedon Oct 3, 2016
Heya, I added some documentation about this on #2487.
angular-automatic-lock-bot commentedon Sep 6, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.