Commit Graph

14 Commits

Author SHA1 Message Date
Akshar Patel
d07ac371fa node.js: Add type guards as return types of util methods (#16011)
* node.js: Add type guards for return types of util methods

* use object instead of Object in isObject typeguard

* use es2016 as target for Node 7 types

Node 7 supports almost 99% of ES2015 and 100% of ES2016. Hence, its safe
to use the target of es2016 in tsconfig.json

* remove typeguard from isObject function

* rename Symbol to symbol

* remove es2016 target in tsconfig.json
2017-04-25 12:56:18 -07:00
Andy
fa2480ba61 Remove more namespaces from tests (#16029) 2017-04-20 09:06:00 -07:00
Andy
525be6811d node: Fix typeof error (#15987) 2017-04-19 10:09:20 -07:00
Ryan Cavanaugh
0d84d8d58a Merge pull request #15831 from blakeembrey/node-streams
[node] Update and correct node.js stream interfaces
2017-04-17 14:26:28 -07:00
Ryan Cavanaugh
741629c940 Merge pull request #15688 from Loghorn/node_fs_position
Node filesystem read/write position can be null
2017-04-17 11:07:59 -07:00
Andy
426452ea55 node: disable dt-header lint rule for now (#15864) 2017-04-14 09:51:41 -07:00
Andy
bbc61fbf93 Extend "dtslint/dt.json" directly instead of "../tslint.json". (#15822)
* Extend "dtslint/dt.json" directly instead of "../tslint.json".

* Convert more "../tslint.json" to "dtslint/dt.json"

* no-redundant-modifiers -> strict-export-declare-modifiers
2017-04-14 08:04:05 -07:00
Blake Embrey
915a86f88b Update and correct node.js stream interfaces 2017-04-13 11:44:34 -07:00
Andy
495f8c403d Add starter tslint.json files for node (#15834) 2017-04-13 07:14:39 -07:00
Alessandro Vergani
fbc98c9d18 Allow null as position in read/write 2017-04-06 12:27:36 +02:00
kadler15
fd3da9791a Align test order 2017-03-25 11:14:49 -07:00
kadler15
330ccde014 Reverse signals and errno in node os.constants 2017-03-25 11:10:13 -07:00
Andy
508b2e7869 node: Change "disconnet" to "disconnect" (#15375) 2017-03-24 16:43:33 -07:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00