codemirror-json-schema icon indicating copy to clipboard operation
codemirror-json-schema copied to clipboard

fix: type issue where barrel exported functions could not be imported without a type error

Open kylemcd opened this issue 4 months ago • 3 comments

Importing certain functions, for example stateExtensions, would result in a type error: SCR-20250728-lbde

This issue seemed to effect any export from ./src/index.ts that was barrel exported. This PR updates any barrel exported values within ./src/index.ts to be named exports instead.

This fixes the type issue: SCR-20250728-ldjj

kylemcd avatar Jul 28 '25 17:07 kylemcd

🦋 Changeset detected

Latest commit: 8ef8325613d5c2e666377d216749fe8e2115b3fb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
codemirror-json-schema Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

changeset-bot[bot] avatar Jul 28 '25 17:07 changeset-bot[bot]

Deploy Preview for codemirror-json-schema ready!

Name Link
Latest commit 8ef8325613d5c2e666377d216749fe8e2115b3fb
Latest deploy log https://app.netlify.com/projects/codemirror-json-schema/deploys/6887b32d70061b0008ab5a5d
Deploy Preview https://deploy-preview-160--codemirror-json-schema.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify[bot] avatar Jul 28 '25 17:07 netlify[bot]

@acao Could I get a review on this when you get a chance? Should be an easy merge.

kylemcd avatar Aug 11 '25 21:08 kylemcd