From 16283b88406c32befdfb02c9aa5430f2ad713fc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Nie=C3=9Fen?= Date: Mon, 9 Dec 2019 01:23:44 -0400 Subject: [PATCH] doc: fix argument type of setAAD PR-URL: https://github.com/nodejs/node/pull/30863 Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca --- doc/api/crypto.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 912a34d4fba579..b5702c5dd8245c 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -284,7 +284,7 @@ once will result in an error being thrown. added: v1.0.0 --> -* `buffer` {Buffer} +* `buffer` {Buffer | TypedArray | DataView} * `options` {Object} [`stream.transform` options][] * `plaintextLength` {number} * Returns: {Cipher} for method chaining.