Skip to content

Types not exported properly #11301

@xpt1x

Description

@xpt1x

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

  1. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions