Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how can i use this library in angular 5 typescript #71

Open
dfmorillov opened this issue Sep 26, 2019 · 1 comment
Open

how can i use this library in angular 5 typescript #71

dfmorillov opened this issue Sep 26, 2019 · 1 comment

Comments

@dfmorillov
Copy link

how can i use this library in angular 5 typescript?

I am trying to download an .ics format file using angular 5, how could I do it using this library? Thank you

@blackfan23
Copy link

blackfan23 commented Oct 15, 2019

I don't think types are included @dfmorillov.

But you can use it now by adding

<script src="assets/external/ics.min.js"></script>
<script src="assets/external/ics.deps.min.js"></script>

to your index html. Copy those two files to assets/external.

than in your file att the top add
declare const cal: any

Just tried it with the sample code and it worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants