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? |
Beta Was this translation helpful? Give feedback.
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
PartialConfig
type 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_modules
or use theParameters
utility type to extract it from theconfigure
function.Beta Was this translation helpful? Give feedback.
All reactions