Skip to content

Commit cdece99

Browse files
authored
Fix description type in symbol.md
1 parent 2da1924 commit cdece99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/symbol.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Napi::Symbol::New(napi_env env, napi_value description);
2626
- `[in] env`: The `napi_env` environment in which to construct the `Napi::Symbol` object.
2727
- `[in] value`: The C++ primitive which represents the description hint for the `Napi::Symbol`.
2828
`description` may be any of:
29-
- `std::string&` - UTF8 string description.
29+
- `const std::string&` - UTF8 string description.
3030
- `const char*` - represents a UTF8 string description.
3131
- `std::string_view` - represents a UTF8 string view.
3232
- `String` - Node addon API String description.

0 commit comments

Comments
 (0)