Angular Typescript and leaflet-illustrate

27 views
Skip to first unread message

hotin...@gmail.com

unread,
Jul 17, 2018, 6:17:04 PM7/17/18
to Angular and AngularJS discussion
I installed the leaflets illustrate plugin in my Angular 5 project using "npm I leaflets illustrate".
Also, I included the JavaScript and CSS in the index.html file.
I want to know how to import this in the *.ts file to use the plugin. I have tried:
import {Illustrate} from 'leaflets illustrate';
This did not work.
Can someone point me in the right direction.

Mike Ciote

unread,
Jul 17, 2018, 6:24:25 PM7/17/18
to ang...@googlegroups.com
so its a problem with typings, or @types

So, if a vendor of library wrote TS declaration, you are fine,
if not, i dont know what to do


--
You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscribe@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages