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

Unexpected Array Element Type error when decorator return type is 2-d array #4

Open
ashwin9798 opened this issue Oct 14, 2024 · 0 comments

Comments

@ashwin9798
Copy link

ashwin9798 commented Oct 14, 2024

Hi I have a resolved field that is an array of an array of strings.

@ResolveField(() => [[String]])
  async functionName(@Parent() parent: ParentEntity): Promise<string[][]> {
    return ...
  }

I get the Error: Unexpected Array Element Type - please contact the author of the rule error when I run the linter.

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

1 participant