Closed MartinX3 closed 1 year ago
HI @MartinX3, I am sorry but I can't help here. The type definitions have not been touched for some while. So please try to be more specific and try to reproduce which version works and since when it is broken. Please also make sure that your tsconfig matches your project changes... Feel free to reopen the issue if you have more information for us.
I fixed it by using
import Holidays, * as DateHolidays from 'date-holidays'
it: DateHolidays.HolidaysTypes.Holiday
Maybe caused by https://github.com/import-js/eslint-plugin-import/issues/1883 or https://github.com/import-js/eslint-plugin-import/issues/1845 while using up to date packages.
It happens now and worked before.
IntelliJ tells me
ESLint: HolidaysTypes not found in 'date-holidays'(import/named)
My code