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

[is-prop-valid] Convert to TypeScript #2432

Merged

Conversation

sarayourfriend
Copy link
Contributor

What: Converting is-prop-valid to TypeScript (mostly)

Why: Part of #2358

How: Converted the index.js to index.ts. props.js I think needs to stay as regular JavaScript for codegen to work.. at least I couldn't figure out how to configure codegen to work with TypeScript. Maybe @Andarist you'll be able to figure that out if you're more familiar with that plugin.

Checklist:

  • Documentation
  • Tests
  • Code complete
  • Changeset

@changeset-bot
Copy link

changeset-bot bot commented Jul 14, 2021

🦋 Changeset detected

Latest commit: 887d846

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

This PR includes changesets to release 1 package
Name Type
@emotion/is-prop-valid Minor

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

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jul 14, 2021

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 887d846:

Sandbox Source
Emotion Configuration

@@ -1,3 +1,6 @@
/**
* This module needs to remain pure JavaScript for codegen to work on it
Copy link
Member

Choose a reason for hiding this comment

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

this makes sense 👍 making this go through something like ts-node would be overengineered, I'm OK with this being a JS file

@Andarist Andarist merged commit a1e881b into emotion-js:ts-migration Aug 14, 2021
@github-actions github-actions bot mentioned this pull request May 17, 2024
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.

2 participants