Skip to content

feat: compatibility with exactOptionalPropertyTypes#621

Merged
AdrianGonz97 merged 5 commits into
huntabyte:mainfrom
Stadly:exact-optional-property-types
Jul 28, 2024
Merged

feat: compatibility with exactOptionalPropertyTypes#621
AdrianGonz97 merged 5 commits into
huntabyte:mainfrom
Stadly:exact-optional-property-types

Conversation

@Stadly

@Stadly Stadly commented Jul 27, 2024

Copy link
Copy Markdown
Contributor

With exactOptionalPropertyTypes enabled, optional properties cannot be undefined unless explicitly allowed. This commit explicitly allowes optional properties to be undefined.

Fixes #516.
Supersedes #517.

With [`exactOptionalPropertyTypes`](https://www.typescriptlang.org/tsconfig/#exactOptionalPropertyTypes) enabled, optional properties cannot be `undefined` unless explicitly allowed. This commit explicitly allowes optional properties to be `undefined`.
@changeset-bot

changeset-bot Bot commented Jul 27, 2024

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: e0aad5c

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

This PR includes changesets to release 1 package
Name Type
bits-ui 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

@github-actions

github-actions Bot commented Jul 27, 2024

Copy link
Copy Markdown
Contributor
built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
bits-ui ✅ Ready (View Log) Visit Preview e0aad5c

@huntabyte huntabyte left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@huntabyte huntabyte requested a review from AdrianGonz97 July 27, 2024 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Type errors when using exactOptionalPropertyTypes

3 participants