Cypress 财产';app&x27;不存在于类型';康乐及文化事务署,;事件发射器';
源代码来自Cypress 财产';app&x27;不存在于类型';康乐及文化事务署,;事件发射器';,cypress,Cypress,源代码来自 spec/cypress/tsconfig.json { "compilerOptions": { "strict": true, "target": "es5", "lib": ["es6", "dom"], "module": "es6", "mod
spec/cypress/tsconfig.json
{
"compilerOptions": {
"strict": true,
"target": "es5",
"lib": ["es6", "dom"],
"module": "es6",
"moduleResolution": "node",
"sourceMap": false,
"types": ["cypress"],
"downlevelIteration": true,
"allowSyntheticDefaultImports": true,
"esModuleInterop": true
},
"include": ["**/*.ts"]
}
导致
Property 'app' does not exist on type 'cy & EventEmitter'.
Property 'app' does not exist on type 'cy & EventEmitter'.