Skip to content

Commit b513d1a

Browse files
tniessenmhdawson
authored andcommitted
doc: fix return type of ArrayBuffer::Data
PR-URL: #552 Reviewed-By: NickNaso <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Gabriel Schulhof <[email protected]>
1 parent 34c11cf commit b513d1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/array_buffer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ Returns the length of the wrapped data, in bytes.
123123
### Data
124124

125125
```cpp
126-
T* Napi::ArrayBuffer::Data() const;
126+
void* Napi::ArrayBuffer::Data() const;
127127
```
128128

129129
Returns a pointer the wrapped data.

0 commit comments

Comments
 (0)