I'm using Dayjs, typescript.
I want to use like this
export class CustomDate extends dayjs.Dayjs {
format() {
}
}
It returns 'TypeError: Class extends value undefined is not a constructor or null'.
When I searched this, the reason occured this problem is circular dependency, but I cannot understand it...
is it incorrect way?