fresh-nail-30646
07/02/2022, 2:35 AMcy.get() call as a parameter, what's the best type to use for the parameter. Below is an example of what I'm trying to do with the ?? as the placeholder for the type I'm trying to figure out.
tableHead = () => { return cy.get(".MuiTableCellhead") }
clickTableHead(element: ??) {
element.click();
}
My IDE is suggesting () => Cypress.Chainable<JQuery<HTMLElement>>, but that just ends up throwing more errors.