Closed rubiin closed 1 year ago
@rubiin yes, that does sound more convenient.
Could you try import type { EtaConfig } from "eta/dist/types/config.d.ts"
and see if that would work?
No that would give me an error saying An import path cannot end with a '.d.ts' extension
@rubiin you're right, sorry. import type { EtaConfig } from "eta/dist/types/config"
should work though.
@rubiin you're right, sorry.
import type { EtaConfig } from "eta/dist/types/config"
should work though.
closing this as this seems to be working
I am working on a mail module with Eta and require the
EtaConfig
type. Usingtypeof config
was working but since there is a interface as well, it would look better