Skip to content

Commit 23b2ffd

Browse files
Xotabu4Richard Waller
andauthored
Added notice about chai typings (#207)
* Added notice about chai typings 'npm install @types/chai' * docs(chai): update README Co-authored-by: Richard Waller <richard.waller@ibm.com>
1 parent 93c3210 commit 23b2ffd

File tree

1 file changed

+2
-0
lines changed
  • packages/chai-openapi-response-validator

1 file changed

+2
-0
lines changed

packages/chai-openapi-response-validator/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,8 @@ describe('GET /example/endpoint', () => {
367367

368368
You don't need to `npm install --save-dev @types/chai-openapi-response-validator` because we [bundle our TypeScript Definition file into this package](https://github.com/openapi-library/OpenAPIValidators/blob/master/packages/chai-openapi-response-validator/index.d.ts).
369369

370+
But make sure you `npm install --save-dev @types/chai` because Chai does not bundle their TypeScript definition files like this.
371+
370372
#### Importing
371373

372374
1. Make sure your `tsconfig.json` includes:

0 commit comments

Comments
 (0)