Skip to content

There may be a syntax error in the nodejs napi doc. #21049

@caijw

Description

@caijw
  • Version: nodejs 10.3.0 documents
  • Platform:
  • Subsystem:

https://nodejs.org/dist/latest-v10.x/docs/api/n-api.html#n_api_object_lifetime_management

This document may has a syntax error:

In many cases, however, it is necessary that the handles remain valid for either a shorter or longer lifespan than that of the native method. The sections which follow describe the N-API functions than can be used to change the handle lifespan from the default.

...the N-API functions than can be used to change the..., than shoul change to that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docIssues and PRs related to the documentations.good first issueIssues that are suitable for first-time contributors.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