Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

cypress typescript tsconfig

// Cypress recommends the following configuration in a tsconfig.json inside your 
// cypress folder.
{
  "compilerOptions": {
    "target": "es5",
    "lib": ["es5", "dom"],
    "types": ["cypress"]
  },
  "include": ["**/*.ts"]
}
 
PREVIOUS NEXT
Tagged: #cypress #typescript #tsconfig
ADD COMMENT
Topic
Name
3+7 =