fix cypress types for VS code

This commit is contained in:
Hans Pagel 2020-09-30 17:34:05 +02:00
parent 82a9654189
commit 70fc578cfd
2 changed files with 6 additions and 2 deletions

View File

@ -11,6 +11,8 @@
// This function is called when a project is opened or re-opened (e.g. due to
// the project's config changing)
/// <reference types="cypress" />
// eslint-disable-next-line
module.exports = (on, config) => {
// `on` is used to hook into various events Cypress emits

View File

@ -2,10 +2,12 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"noEmit": false,
"sourceMap": false
"sourceMap": false,
"types": [
"cypress",
],
},
"include": [
"../node_modules/cypress",
"./*/*.ts"
]
}