From 616881a2e3b79d6baab1114ec08cc3951300edb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Triay?= Date: Sat, 4 Jul 2020 18:38:14 -0300 Subject: [PATCH] Update README.md with typescript definitions I just added type definitions for this package in https://github.com/DefinitelyTyped/DefinitelyTyped/pull/45891 (_to be merged_) --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 4d8bc64..c4b51e8 100644 --- a/README.md +++ b/README.md @@ -19,3 +19,12 @@ export const myBlockies = () => ( /> ) ``` + +# TypeScript +If you're working with TypeScript, add type definitions for this package installing `@types/react-blockies` + +```bash +npm install @types/react-blockies +// or +yarn add @types/react-blockies +```