Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add types field in package.json exports #27

Open
AkaraChen opened this issue Jun 9, 2023 · 1 comment
Open

Add types field in package.json exports #27

AkaraChen opened this issue Jun 9, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@AkaraChen
Copy link

AkaraChen commented Jun 9, 2023

Is your feature request related to a problem? Please describe.
Could not find a declaration file for module 'y-codemirror.next'.
There are types at /dist/src/index.d.ts', but this result could not be resolved when respecting package.json "exports". The 'y-codemirror.next' library may need to update its package.json or typings.

Describe the solution you'd like
Add types field

Describe alternatives you've considered

Additional context

@AkaraChen AkaraChen added the enhancement New feature or request label Jun 9, 2023
@AkaraChen AkaraChen changed the title Add type definition Add types field in package.json exports Jun 9, 2023
@lorefnon
Copy link

lorefnon commented Oct 10, 2023

@dmonad Please merge this change. Without this change this library can not be used in a project that uses moduleResolution: bundler (recommended now for all ts projects that use a bundler) in tsconfig.

bharathcs added a commit to bharathcs/y-codemirror.next that referenced this issue Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants