mirror of
https://github.com/oven-sh/bun
synced 2026-02-13 04:18:58 +00:00
Fix napi_is_buffer/napi_is_typedarray to match Node.js (#17034)
This commit is contained in:
@@ -345,7 +345,7 @@ pub const Tag = enum(short) {
|
||||
return .timestamptz;
|
||||
}
|
||||
|
||||
if (tag.isTypedArray()) {
|
||||
if (tag.isTypedArrayOrArrayBuffer()) {
|
||||
if (tag == .Int32Array)
|
||||
return .int4_array;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user