Skip to content

Commit

Permalink
docs update.
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaly-t committed May 30, 2016
1 parent 510aa79 commit bf91edd
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions typescript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,13 @@ Since all TypeScript files are distributed with the library, you can reference i
/// <reference path='../node_modules/pg-monitor/typescript/pg-monitor' />
```

Starting with version 0.5.5, the library includes file [typings.json] for integration with [Typings].

Add the library to your _typings.json_ file (commit hash example is for 0.5.5 release):
```js
{
"globalDependencies": {
"pg-monitor": "github:vitaly-t/pg-monitor#f68711a4264e743ac24a832cf9646e34eda5909c"
}
}
Version 0.5.5 and later supports [Typings], and can be added to your project with this command:

```
typings install --save --global github:vitaly-t/pg-monitor
```

After running `typings install` you will be able to rely on the generic reference:
Then you can use the generic reference:

```ts
/// <reference path='../typings/index' />
Expand Down

0 comments on commit bf91edd

Please sign in to comment.