mirror of
https://github.com/nodejs/node.git
synced 2026-10-28 10:15:07 +08:00
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:
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user