Andy
ae4fe7b6de
Use "lib" in tsconfigs instead of "target". ( #13968 )
...
* Use "lib" in tsconfigs instead of "target".
Only add "dom" to libraries that need it. This is determined by a script, so many libraries that have "dom" maybe should not.
* Update new-package and readme
* Add back "target" where necessary
2017-01-18 07:51:51 -08:00
Alejandro Sánchez
08e9679d95
Made bunyan typing conform to the way the module was written ( #13765 )
2017-01-13 07:35:26 -08:00
Andy
a4bd9fa3c1
Add "noImplicitThis" to all tsconfig.json ( #13446 )
...
* Add "noImplicitThis" to all tsconfig.json
* Use `"noImplicitThis": false` on packages with broken tests.
2016-12-19 14:11:46 -08:00
Nathan Shively-Sanders
3e9ed9d35f
Merge pull request #12849 from dieseldjango/types-2.0
...
Added support for custom fields on bunyan LoggerOptions
2016-11-26 09:23:10 -08:00
Nathan Shively-Sanders
983c93531a
Merge branch 'types-2.0' into types-merge-20161118
2016-11-21 16:16:59 -08:00
David Johnson
e945da8a47
Added support for custom fields on bunyan LoggerOptions
2016-11-21 16:43:51 -07:00
Mine Yalcinalp Starks
253e456e3c
Merge remote-tracking branch 'upstream/master' into types-2.0
...
Many badly resolved merge conflicts
2016-11-18 20:42:46 -08:00
Ray Solomon
7e0ebfc5d2
Update bunyan LoggerOptions to accept stdSerializers
2016-11-03 19:59:30 -07:00
zhengbli
2f4b18f28f
stage changes to index.d.ts
2016-10-24 22:52:02 -07:00
zhengbli
5a5ababe92
Merge remote-tracking branch 'origin/master' into zhengbli_merge
2016-10-24 22:48:38 -07:00
Antoine LUCAS
39b215bda1
- Changed the definition of a Serializer, that returns any instead of string ( #12080 )
...
- Also add definition for default stDSerialiers (err, res and req)
2016-10-19 22:51:23 +09:00
Ryan Cavanaugh
a5f4d50ccc
Fix tsconfig files for new option name / behavior.
...
Also fixes some inconsistent whitespace.
2016-07-12 13:54:56 -07:00
Raghav Katyal
395c4e1639
Turning on consistent casing flag and fixing failures
2016-06-30 15:14:49 -07:00
Ryan Cavanaugh
bfd400a8f8
Add noEmit to all config files
2016-05-10 12:24:49 -07:00
Ryan Cavanaugh
50387d4046
Change relative reference paths to types references. Errors incoming...
2016-05-09 18:06:27 -07:00
Ryan Cavanaugh
49b1ac6a38
Rename all entry points to index.d.ts and explicitify all file lists
2016-05-09 17:29:10 -07:00
Ryan Cavanaugh
ab2b4191c5
Add typesRoot to all config files
2016-05-09 13:52:25 -07:00
Ryan Cavanaugh
ded70421be
Turn off strict null checks
2016-05-04 15:08:38 -07:00
Ryan Cavanaugh
69d1929d8a
Add tsconfig.json files
2016-05-04 14:14:39 -07:00
Ryan Cavanaugh
fa204a87d1
Remove obsolesced reference comments
2016-04-27 21:53:46 -07:00
Ryan Cavanaugh
337587de8c
Rename external modules to index.d.ts
2016-04-27 21:30:22 -07:00
Ryan Cavanaugh
e7c111c4b7
Merge remote-tracking branch 'upstream/master' into types2.0
...
Add tsconfig files everywhere
# Conflicts:
# azure-mobile-services-client/AzureMobileServicesClient.d.ts
# bookshelf/bookshelf.d.ts
# hapi/hapi.d.ts
# helmet/helmet.d.ts
# mongodb/mongodb.d.ts
# nock/nock.d.ts
# react-bootstrap/react-bootstrap.d.ts
# react-helmet/react-helmet.d.ts
# restify/restify.d.ts
# sequelize/sequelize.d.ts
2016-04-27 20:40:21 -07:00
Ryan Cavanaugh
541e24b685
Fix angularjs/angular; 'export declare'/'declare export'
2016-04-25 13:02:25 -07:00
Ryan Cavanaugh
4a433abbf4
Unwrap all lone ambient external modules
2016-04-22 14:12:45 -07:00
Benjamin Nwaneampeh
773ae6e25d
added "src and "fields" to bunyan Logger definition ( #8954 )
2016-04-13 00:51:12 +09:00
vvakame
56295f5058
replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped
2016-03-17 00:55:26 +09:00
Tanguy Krotoff
d8373f0a6f
Rename from *-test.ts to *-tests.ts
2015-10-23 20:52:47 +02:00
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