Write your own Cypress commands using TypeScript
In this recipe we do not use tsconfig.json
file, thus we need to specify additional command types using /// <reference ...>
commands, like this:
// cypress/e2e/spec.ts
/// <reference path="../support/index.d.ts" />