mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 21:53:35 +03:00
chore(dotnet): make JSHandle inherit from IAsyncDisposable (#10905)
This commit is contained in:
parent
6552556608
commit
b310c6bd6c
@ -136,6 +136,9 @@ function renderClass(clazz) {
|
||||
|
||||
const body = [];
|
||||
for (const member of clazz.membersArray) {
|
||||
// Classes inherit it from IAsyncDisposable
|
||||
if (member.name === 'dispose')
|
||||
continue
|
||||
if (member.alias.startsWith('RunAnd'))
|
||||
renderMember(member, clazz, { trimRunAndPrefix: true }, body);
|
||||
renderMember(member, clazz, {}, body);
|
||||
|
Loading…
Reference in New Issue
Block a user