Skip to content

Got compiler error about Symbol.asyncDispose after updating playwright/test to 1.40 #28262

@firstblood

Description

@firstblood
  • Playwright Version: [v1.40]
  • Operating System: Windows 11
  • Browser: Chromium
  • Other info:

After installing 1.40, I compiled my local project with tsc
image

I got a bunch of errors complaining about asyncDispose.
image

How do I get rid of the errors? (node_modules already excluded)
image

Here is my list of packages in case I need to update something.
image

I use tsc to pass my CI build, so I need the build to be passed. The reason why I use it in my CI because it would take more than 40 mins to run all tests, and my build server also has no access to my SUT. Meanwhile, the time is still growing as I'm writing more and more tests. Thx.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions