i18n-node
i18n-node copied to clipboard
staticCatalog does not exist for configuration (TypeScript)
I would like to use the staticCatalog property of the configuration function to load the translations from YAML files. My project is using TypeScript and so I use the typed version of i18n, but in this one, the property staticCatalog does not exist :
Object literal may only specify known properties, and 'staticCatalog' does not exist in type 'ConfigurationOptions'.
What can be done instead ?
there is PR pending which should fix that issue https://github.com/DefinitelyTyped/DefinitelyTyped/pull/47811
Thanks. I guess I'll have to wait until it's merged
Pull request merged