Import config type #221
Unanswered
Daniel-Knights
asked this question in
Q&A
Replies: 1 comment 4 replies
|
I think the best way is like this: import type { EtaConfig } from "eta/dist/types/config"
// and then use Partial<EtaConfig>Does this work for you? |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi, I need to use the
PartialConfigtype in my Typescript project, but can't seem to access it directly. Is there a way to do this?My current workarounds are to either import directly from
node_modulesor use theParametersutility type to extract it from theconfigurefunction.All reactions