dynamic import type issue
Unanswered
Maltese posted this in #help-forum
MalteseOP
Here I am trying to import this
const calculateFixedStateNavbar = dynamic(
() => import('../lib/dom').then((mod) => mod.calculateFixedStateNavbar),
{
ssr: false,
}
); but stuck getting this error Argument of type '() => Promise<() => void>' is not assignable to parameter of type 'DynamicOptions<{}> | Loader<{}>'.