From df9df1883ebb0747713d41183f370f5954b710b9 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 6bf1dcea365d93..5de68740aa3fe8 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.