We deliberately exclude node js types from our build as they cause type errors with our own types for client side.
When importing filestack we get type errors as they explicitly import node types. Any way we can work around this issue? Why do they import node types if we're building for client js?
I guess this is because typescript looks at the "main" field of the package.json file instead of the "browser"
This problem means we have to exclude typing entirely from this package to get this working for the browser. It would be nice if this package was written in such a way to not make this necessary
We deliberately exclude node js types from our build as they cause type errors with our own types for client side.
When importing filestack we get type errors as they explicitly import node types. Any way we can work around this issue? Why do they import node types if we're building for client js?
I guess this is because typescript looks at the "main" field of the package.json file instead of the "browser"