Now that https://github.com/nodejs/node/pull/18089 has landed we should add equivalent support in node-addon-api.