Found a bug? Please fill out the sections below. 👍
Issue Summary
Typescript can't resolve types properly as exports field present in package.json which will override types provided and types are not provided to exports field.
Steps to Reproduce
npm i @calcom/embed-react
Actual Results
There are types at '/home/xyz/node_modules/@calcom/embed-react/dist/embed-react/src/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@calcom/embed-react' library may need to update its package.json or typings.
Expected Results
Types to work normally
Found a bug? Please fill out the sections below. 👍
Issue Summary
Typescript can't resolve types properly as
exportsfield present inpackage.jsonwhich will overridetypesprovided and types are not provided toexportsfield.Steps to Reproduce
npm i @calcom/embed-reactActual Results
Expected Results
Types to work normally