pg-monitor
Version:
Event monitor for pg-promise.
25 lines (15 loc) • 550 B
Markdown
3.x (`strict` mode) declarations for [pg-monitor].
Typescript should be able to pick up the definitions without any manual configuration.
```ts
import * as pgMonitor from 'pg-monitor';
const pgOptions = {
// Initialization Options object that's used for initializing pg-promise
};
pgMonitor.attach(pgOptions);
// optionally, changing the default theme:
pgMonitor.setTheme('matrix');
```
[ ]:https://github.com/vitaly-t/pg-monitor
Complete TypeScript