Skip to content

Commit 193cc6e

Browse files
committed
fix(types): fix signature for classList.contains
Closes #1207
1 parent 582ff53 commit 193cc6e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/testing/puppeteer/puppeteer-declarations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ export interface E2EElement {
166166
/**
167167
* Checks if specified class value exists in class attribute of the element.
168168
*/
169-
contains: (className: string) => void;
169+
contains: (className: string) => boolean;
170170
};
171171

172172
/**

0 commit comments

Comments
 (0)