Commit Graph

9 Commits

Author SHA1 Message Date
Oskar Karlsson
44db8b5633 Update stream interface for Bunyan
To support period and count for `rotating-file` type.
2015-08-29 14:25:23 +02:00
Ray Solomon
0659ddca42 bunyan: fix ts1202 errors when targeting es6
Before this change:

```
[ray@localhost DefinitelyTyped]$ tsc --noImplicitAny bunyan/bunyan-test.ts --module commonjs --target es6
bunyan/bunyan-test.ts(3,1): error TS1202: Import assignment cannot be
used when targeting ECMAScript 6 or higher. Consider using 'import * as
ns from "mod"', 'import {a} from "mod"' or 'import d from "mod"'
instead.
bunyan/bunyan.d.ts(9,5): error TS1202: Import assignment cannot be used
when targeting ECMAScript 6 or higher. Consider using 'import * as ns
from "mod"', 'import {a} from "mod"' or 'import d from "mod"' instead.
[ray@localhost DefinitelyTyped]$
```

After this change:
```
[ray@localhost DefinitelyTyped]$ tsc --noImplicitAny bunyan/bunyan-test.ts --module commonjs --target es6
[ray@localhost DefinitelyTyped]$
```
2015-08-19 10:11:15 -07:00
Felipe Barriga Richards
539af528b3 bunyan: adding missing types. 2015-08-12 16:35:09 -03:00
Daniel Rosenwasser
46ddfbb037 Streams don't have a documented 'name' property in 'bunyan'. 2015-07-30 12:40:13 -07:00
vvakame
4dd430601a change any to union types 2015-01-17 00:08:09 +09:00
vvakame
23ca1058e7 fix bunyan/bunyan.d.ts compile error 2015-01-16 23:42:33 +09:00
vvakame
d56a9855f3 suppress warning bunyan/bunyan-test.ts 2014-11-13 15:09:55 +09:00
Michele Ursino
9046f20cb6 Allows to pass a generic Object to Logger.child() - see https://github.com/trentm/node-bunyan#logchild 2014-10-30 03:42:12 +00:00
Alex Mikhalev
f389d547ab Added definitions for bunyan.
Added definitions and tests for the bunyan logging library.
2014-10-19 01:50:05 -06:00