Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Missing types in crypto randomFill & randomFillSync node definitions
Summary: In current definitions `buffer` arg only accepts `Buffer` type, but according to docs [1] it should accept `Buffer | $TypedArray | DataView`. [1] https://nodejs.org/api/crypto.html#crypto_crypto_randomfillsync_buffer_offset_size Pull Request resolved: #8373 Reviewed By: nmote Differential Revision: D28344647 Pulled By: mroch fbshipit-source-id: d3d46d93a5eb7e510534f0d19f2b5b09d7aeb37f
- Loading branch information