Skip to content

Repo: [no-base-to-string] remove nonsensical spread element test cases #10431

Closed
@kirkwaiblinger

Description

@kirkwaiblinger

Suggestion

It's not clear what these test cases are attempting to test.

`
let numbers = [1, 2, 3];
String(...a);
`,

{
code: `
let objects = [{}, {}];
String(...objects);
`,
errors: [
{
data: {
certainty: 'will',
name: '...objects',
},
messageId: 'baseToString',
},
],
},

These test cases get in the way of changes necessary for #10430 and #8585

Additional Info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    accepting prsGo ahead, send a pull request that resolves this issuelocked due to agePlease open a new issue if you'd like to say more. See https://typescript-eslint.io/contributing.repo maintenancethings to do with maintenance of the repo, and not with code/docs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions