DefinitelyTyped/types/node/test
阿林 3889492dec [@types/node] add destroyed property for Readable and Writable (#38237)
* [@types/node] add `destroyed` property for Readable and Writable

1. https://nodejs.org/dist/latest-v12.x/docs/api/stream.html#stream_readable_destroyed
2. https://nodejs.org/dist/latest-v12.x/docs/api/stream.html#stream_writable_destroyed

* [@types/node] add test for readable.destroyed/writable.destroyed

1. Property 'destroyed' is missing in type 'WriteStream' but required in type 'Writable'
2. check `destroyed`

* fixed: replace Readable with ReadableStream
2019-09-25 16:04:49 -07:00
..
assert.ts
buffer.ts
child_process.ts
cluster.ts
crypto.ts
dgram.ts
events.ts
global.ts
http2.ts
http.ts
net.ts
os.ts
path.ts
perf_hooks.ts
process.ts
querystring.ts
readline.ts
repl.ts
stream.ts
string_decoder.ts
tls.ts
tty.ts
util.ts
v8.ts
vm.ts
worker_threads.ts
zlib.ts