I'm trying to use date-holidays in my angular 7 project with typescript.
I meet an issue when I intialize new Holidays('US', 'la', 'no') (for exemple) :
It seems that the problem occurs when the country is made of 2 characters, I have the same problem with new Holidays('Fr'), but when i'm doing new Holidays('France') the result is :
Beside, when I use something like
it works fine.
My import is made as follow:
I think that there is something wrong with my init but i don't understand what.. I'm pretty new in the web development !
Thanks !
Hi here,
I'm trying to use date-holidays in my angular 7 project with typescript. I meet an issue when I intialize new Holidays('US', 'la', 'no') (for exemple) :
It seems that the problem occurs when the country is made of 2 characters, I have the same problem with new Holidays('Fr'), but when i'm doing new Holidays('France') the result is :
Beside, when I use something like
it works fine.
My import is made as follow:![image](https://user-images.githubusercontent.com/15676958/71977483-2f752900-3219-11ea-8f9b-5b873adb7d83.png)
I think that there is something wrong with my init but i don't understand what.. I'm pretty new in the web development ! Thanks !