From 62f6b1090d90367e0d4a2bc566b1878592ca699f Mon Sep 17 00:00:00 2001 From: IAMtheIAM Date: Wed, 13 Sep 2017 16:25:03 -0700 Subject: [PATCH] Add typescript definition npm source I added the reference to the definitely typed package for the typescript definition, so that people don't have to search around for where the definition file is. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 66223edb..7414ec8a 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,10 @@ bower install toastr #### [npm](https://www.npmjs.com/package/toastr) ``` npm install --save toastr + +// If using within a TypeScript project, also get the TypeScript Definition file +npm install -D @types/toastr + ``` #### [Ruby on Rails](https://github.com/tylergannon/toastr-rails)