diff --git a/cli/src/api/templates/js-binding.ts b/cli/src/api/templates/js-binding.ts index e4ab5133..652702ee 100644 --- a/cli/src/api/templates/js-binding.ts +++ b/cli/src/api/templates/js-binding.ts @@ -290,7 +290,7 @@ if (!nativeBinding) { } ${idents - .map((ident) => `module.exports.${ident} = binding.${ident}`) + .map((ident) => `module.exports.${ident} = nativeBinding.${ident}`) .join('\n')} ` }