Logo
Explore Help
Sign In
vhad/DefinitelyTyped
Watch 1
Star 0
Fork 0
mirror of https://github.com/gosticks/DefinitelyTyped.git synced 2026-12-03 03:31:47 +00:00
Code Issues Actions Packages Projects Releases Wiki Activity
Files
egg
DefinitelyTyped/types/node
T
History
Jinwoo Lee e86a56d0cc Node http2: statCheck() may also return false. (#20692)
* Node http2: statCheck() may also return `false`.

https://nodejs.org/dist/latest-v8.x/docs/api/http2.html#http2_http2stream_respondwithfile_path_headers_options
says:
The options.statCheck function may also be used to cancel the send operation by
returning false

Related node code:
  - https://github.com/nodejs/node/blob/master/lib/internal/http2/core.js#L1621
  - https://github.com/nodejs/node/blob/master/lib/internal/http2/core.js#L1671

* add tests for returning false from statCheck()

* change `void|false` to `void|boolean`

* fix lint error
2017-10-19 10:22:12 -07:00
..
scripts/generate-inspector
…
v0
Fix node url and http/https request types (#18766)
2017-10-17 12:00:46 -07:00
v4
Fix node url and http/https request types (#18766)
2017-10-17 12:00:46 -07:00
v6
Fix node url and http/https request types (#18766)
2017-10-17 12:00:46 -07:00
v7
Remove myself from the authors (#20697)
2017-10-18 13:44:29 -07:00
index.d.ts
Node http2: statCheck() may also return false. (#20692)
2017-10-19 10:22:12 -07:00
inspector.d.ts
…
node-tests.ts
Node http2: statCheck() may also return false. (#20692)
2017-10-19 10:22:12 -07:00
tsconfig.json
Enable strictFunctionTypes (#20373)
2017-10-06 14:03:03 -07:00
tslint.json
…
Powered by Gitea Version: 1.27.3 Page: 1048ms Template: 6ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API