Fix typescript errors in osquery cypress tsconfig (#167369)

## Summary
Supposedly, this is the error that's causing these type of errors:/
```
Cannot write file '/Users/alex/Git/kibana/x-pack/test/functional/services/random.js' because it would overwrite input file.
```

Separated off from: https://github.com/elastic/kibana/pull/167355

Co-authored-by: Thomas Watson <watson@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Alex Szabo 2023-09-27 15:24:36 +02:00 committed by GitHub
parent 563292f0e0
commit 07570c6847
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,6 +19,9 @@
"resolveJsonModule": true,
},
"kbn_references": [
{
"path": "../../../test_serverless/tsconfig.json"
},
"@kbn/cypress-config",
// cypress projects that are nested inside of other ts project use code
// from the parent ts project in ways that can't be automatically deteceted