From d776992f1f80312ec3cfdfbb74c610c22e92c886 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: 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(-) (limited to 'doc') diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 84b67ebdd3c..db3f2767c24 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. -- cgit v1.2.3