DenoDDeno
Powered by
Ignacio UtrillaI
Denoβ€’16mo ago
Ignacio Utrilla

'dayjs' has no exported member named type Dayjs.

When I try to use the dayjs types I get the following error:
'dayjs' has no exported member named Dayjs. Did you mean isDayjs?
'dayjs' has no exported member named Dayjs. Did you mean isDayjs?


Import code:
import dayjs, { Dayjs } from 'dayjs';
import dayjs, { Dayjs } from 'dayjs';

Import mapping in deno.json:
"dayjs": "https://cdn.skypack.dev/dayjs@^1.11.3"
"dayjs": "https://cdn.skypack.dev/dayjs@^1.11.3"


Which could be the reason?

Thanks for helping me : )
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,944Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

deno check: Module '"internal:///missing_dependency.d.ts"' has no exported member...
Patrick (he/him)PPatrick (he/him) / help
3y ago
JSX element implicitly has type 'any' because no interface 'JSX.IntrinsicElements'
OokerOOoker / help
3y ago
JSX element implicitly has type 'any' because no interface 'JSX.IntrinsicElements' exists.
CajonesCCajones / help
2y ago