From 33f0f1656bab6f25ed158730fbf08d5b5b8a4985 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=88=E9=B8=BF=E9=A3=9E?= Date: Thu, 12 Dec 2024 19:23:13 +0800 Subject: [PATCH] doc: `sea.getRawAsset(key)` always returns an ArrayBuffer PR-URL: https://github.com/nodejs/node/pull/56206 Reviewed-By: James M Snell Reviewed-By: Luigi Pinca --- doc/api/single-executable-applications.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/single-executable-applications.md b/doc/api/single-executable-applications.md index be86536291ba7d..30ebd0fc38aaa6 100644 --- a/doc/api/single-executable-applications.md +++ b/doc/api/single-executable-applications.md @@ -352,7 +352,7 @@ writes to the returned array buffer is likely to result in a crash. * `key` {string} the key for the asset in the dictionary specified by the `assets` field in the single-executable application configuration. -* Returns: {string|ArrayBuffer} +* Returns: {ArrayBuffer} ### `require(id)` in the injected main script is not file based