Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

docIssues and PRs related to Node.js documentation.node-apiIssues and PRs related to Node-API.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions