Skip to content

Incorrect N-API documentation for some functions accepting strings #13555

Closed
@RReverser

Description

@RReverser

Following functions accept const char* according to the docs, but in fact napi_value according to implementation:

  • napi_create_symbol
  • napi_create_error
  • napi_create_type_error
  • napi_create_range_error

/cc @nodejs/n-api

Metadata

Metadata

Assignees

Labels

docIssues and PRs related to the documentations.node-apiIssues and PRs related to the Node-API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions