Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

fix(types): compilation error in TypeScript 4.8 (#14847)

Andrew Branch26e22c9a89ef
diff --git a/packages/playwright-core/src/client/connection.ts b/packages/playwright-core/src/client/connection.ts
index 3efc3035e1..50d62c4293 100644
--- a/packages/playwright-core/src/client/connection.ts
+++ b/packages/playwright-core/src/client/connection.ts
@@ -56,7 +56,7 @@ class Root extends ChannelOwner<channels.RootChannel> {
}
}
-class DummyChannelOwner<T> extends ChannelOwner<T> {
+class DummyChannelOwner extends ChannelOwner {
}
export class Connection extends EventEmitter {