next-translate
next-translate copied to clipboard
Type 'string[]' is not assignable to type 'string | I18nDictionary'.
What version of this package are you using? 1.5.0
What operating system, Node.js, and npm version? MacOS, Node 16.16, yarn 1.22
What happened?

What did you expect to happen?
I would expect the provider to allow array of strings if one is specified inside the .json file.
Inside it I have is a simple array with strings:
{
"myArray": [
"string 1",
"string 2"
]
}
Are you willing to submit a pull request to fix this bug? Sure, if the author won't have the time to do that. Since it looks like a minor issue I guess it will take me more time to setup the dev env than to actually fix it, but if we confirm it's an issue I am happy to help
Feel free to PR