Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type 'string[]' is not assignable to type 'string | I18nDictionary'. #925

Open
mkbctrl opened this issue Sep 21, 2022 · 1 comment
Open

Comments

@mkbctrl
Copy link

mkbctrl commented Sep 21, 2022

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?
Screenshot 2022-09-21 at 17 16 23

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

@aralroca
Copy link
Owner

Feel free to PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants