From de59a23685c90429719111a4d5b7bd1cf57b2031 Mon Sep 17 00:00:00 2001 From: William Lahti Date: Sat, 12 Nov 2016 14:09:31 -0500 Subject: [PATCH] Add instructions on installing using Typings (#12) --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a1c8adf..d5c0546 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,18 @@ These typings should work as the library updates with new things. Of course these ones try to mimick the documentation and source code as much as possible. +## Usage + +To always pull the latest version: +``` +typings install github:acdenisSK/discord.js-typings/discord.d.ts --save --global +``` + +To pin to a specific version (ie to avoid something changing unexpectedly), include a commit, tag, or branch name: +``` +typings install github:acdenisSK/discord.js-typings/discord.d.ts#ac429e798d11e9c33ad1cfccb868a56dddb83f0b --save --global +``` + ## FAQ: 1. Was this machine generated? No @@ -11,4 +23,4 @@ Of course these ones try to mimick the documentation and source code as much as # License -MIT \ No newline at end of file +MIT