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

Fix types and make sure Typescript types validate #132

Merged
merged 1 commit into from
Mar 30, 2021
Merged

Fix types and make sure Typescript types validate #132

merged 1 commit into from
Mar 30, 2021

Conversation

realityking
Copy link
Contributor

This PR contains:

  • bugfix
  • feature
  • refactor
  • tests
  • documentation
  • metadata

Breaking Changes?

  • yes
  • no

If yes, please describe the breakage.

Please Describe Your Changes

Currently types in this package are not valid breaking any consumer of this package that uses typescript. dependents/node-detective-postcss#107 is where I ran into this issue.

As it turns out, part of the issue that not all necessary types are exported by PostCSS. I will create a PR there to address that. You might want to keep this open until this is (partially) fixed upstream.

I've also added a CI check to validate the types. While it won't be able to check for correctness of the types, this will make sure any references to PostCSS types resolve.

@realityking
Copy link
Contributor Author

Failures are unrelated and due to outdated dependencies

@shellscape
Copy link
Owner

@realityking thanks for the PR. I just updated master with update dependencies. Please merge from upstream/master so that CI will pass.

@joscha
Copy link

joscha commented Apr 27, 2021

@shellscape any chance we could get a new release with this change? Cheers!

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.

3 participants