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:
沈鸿飞 2024-12-12 19:23:13 +08:00 committed by GitHub
parent 37766dcad8
commit 33f0f1656b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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