I've just tried to upgrade my project to use TS6.0, but getting a ton of these kinds of compile errors now:
../../node_modules/@serialport/bindings-cpp/dist/darwin.d.ts(1,10): error TS2305: Module '"."' has no exported member 'BindingPortInterface'.
../../node_modules/@serialport/bindings-cpp/dist/darwin.d.ts(2,86): error TS7016: Could not find a declaration file for module '@serialport/bindings-interface'. '/Users/foo/bar/node_modules/@serialport/bindings-interface/dist/index-esm.mjs' implicitly has an 'any' type.
There are types at '/Users/foo/bar/node_modules/@serialport/bindings-interface/dist/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@serialport/bindings-interface' library may need to update its package.json or typings.
I've tried manually patching the types, but don't quite understand yet how they fit all together...
I've just tried to upgrade my project to use TS6.0, but getting a ton of these kinds of compile errors now:
I've tried manually patching the types, but don't quite understand yet how they fit all together...