Skip to content

Is documentation outdated? #1106

Description

@developer239

Is the documentation outdated?

https://github.com/nodejs/node-addon-api/blob/main/doc/class_property_descriptor.md#class-property-and-descriptor

Instead of InstanceAccessor<&Example::GetValue>("readOnlyProp")

it should be: InstanceAccessor("getValue", &Point::getValue, nullptr)

What am I missing? 🙂

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions