You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Hey, first I want to say thank you for an awesome lightweight package.
I've recently updated my dayjs packages in my Typescript project and have started to get the following error in browser
TypeError: dayjs__WEBPACK_IMPORTED_MODULE_22__ is not a function
Here is what I have in my code base
import * as dayjs from 'dayjs'
const today = dayjs();
Not sure why this is happening, I've checked around and based on current findings I do have the appropriate configurations. Thanks ahead of time for your support.
"allowSyntheticDefaultImports": true,
Information
Day.js Version 1.10.1
Typescript Version 3.0.0
The text was updated successfully, but these errors were encountered:
Describe the bug
Hey, first I want to say thank you for an awesome lightweight package.
I've recently updated my dayjs packages in my Typescript project and have started to get the following error in browser
TypeError: dayjs__WEBPACK_IMPORTED_MODULE_22__ is not a function
Here is what I have in my code base
import * as dayjs from 'dayjs'
const today = dayjs();
Not sure why this is happening, I've checked around and based on current findings I do have the appropriate configurations. Thanks ahead of time for your support.
"allowSyntheticDefaultImports": true,
Information
Day.js Version 1.10.1
Typescript Version 3.0.0
The text was updated successfully, but these errors were encountered: