From d977ffb77cfe8a5a092db594ceca0ed919af0c8d Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Tue, 27 Feb 2018 22:54:13 +0100 Subject: [PATCH] update README --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 38758f0..70d2147 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,13 @@ chai + chai-as-promised + chai-string for TypeScript ## Usage Use TypeScript for best in class instellisense. +```typescript +import { expect } from 'smartchai'; + +expect(new Error('hi')).to.be.instanceOf(Error); + +``` + For further information read the linked docs at the top of this README. > MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh)