RainwayApp / node-clangffi

Generate Typescript FFI bindings for C/C++ libraries using libclang and ffi-napi.
MIT License
7 stars 1 forks source link

fix: Restore ".js" in relative imports #55

Closed lynn closed 2 years ago

lynn commented 2 years ago

I totally did a "Chesterton's fence"! These are apparently required for ES modules. https://www.typescriptlang.org/docs/handbook/esm-node.html#type-in-packagejson-and-new-extensions