Skip to content

Run tests with debugger fails to compile TS2322 #1504

Closed
@Jojoshua

Description

@Jojoshua

Describe the bug

Executing the "Run tests with debugger' config from visual studio returns the following error:

packages/language-server/src/utils.ts:61:5 - error TS2322: Type 'T | T[]' is not assignable to type 'T[]'

Reproduction

Execute the "Run tests with debugger' configuration that comes with this repo

Expected behaviour

Program compiles and allows debugging tests in language-server

System Info

  • OS: Windows 10
  • IDE: VSCode

Which package is the issue about?

language-server

Additional Information, eg. Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions