tau-advanced-playwright
tau-advanced-playwright copied to clipboard
[QUESTION] Linter message "this expression is not constructable"
🐞 Describe the question: In this line
https://github.com/raptatinha/tau-advanced-playwright/blob/bd497df77eefd3f48ea1f59a0223a1c8487b3bbd/tests/utils/hooks.ts#L14
My editor gives me the lint message: "this expression is not constructable".
If I add a comment // @ts-ignore
above it, the test does run.
Is there a clean way to create a dynamic POM that does not give warnings?