doc: sea.getRawAsset(key) always returns an ArrayBuffer

PR-URL: https://github.com/nodejs/node/pull/56206
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
沈鸿飞 authored and GitHub committed 2024-12-12 11:23:13 +00:00
1 parent 37766dcad8
commit 33f0f1656b
1 file changed
+1 -1
+1 -1
View File
@@ -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