When we add Cypress-Each to any of our packages, if we are using any of the latest version of TypeScript, we get an issue when building with Cypress-Each. I'll attached the errors we see. These errors go away if we downgrade to TypeScript 4.8.4, however, I wanted to raise this issue up.
node_modules/cypress-each/src/index.d.ts:47:20 - error TS2313: Type parameter 'T' has a circular constraint.
47 each<T extends readonly [...T]>(
~~~~~~~~~~~~~~~
node_modules/cypress-each/src/index.d.ts:47:30 - error TS2574: A rest element type must be an array type.
47 each<T extends readonly [...T]>(
Howdy folks,
When we add Cypress-Each to any of our packages, if we are using any of the latest version of TypeScript, we get an issue when building with Cypress-Each. I'll attached the errors we see. These errors go away if we downgrade to TypeScript
4.8.4
, however, I wanted to raise this issue up.