From 0160e5815d9abc9ae4835b5f5abf69107e07d7ef Mon Sep 17 00:00:00 2001 From: Saugat Acharya Date: Thu, 18 Jul 2024 15:49:53 +0545 Subject: [PATCH] Update usage --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7d3457d..d280e74 100644 --- a/README.md +++ b/README.md @@ -30,12 +30,11 @@ npm install chai-exclude@2.1.1 --save-dev ## Usage ```js -import chai from 'chai'; -import chaiExclude from 'chai-exclude'; +import { use } from 'chai' +import chaiExclude from 'chai-exclude' -chai.use(chaiExclude); - -// If you are using TypeScript, the typings for chai-exclude are included with the package itself. +// If you are using TypeScript, the typings for chai-exclude are included in the package +use(chaiExclude) ``` ## Examples