Skip to content

Fix: Fix component prop and event types. #296

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

Merged
merged 3 commits into from
Jul 17, 2024
Merged

Fix: Fix component prop and event types. #296

merged 3 commits into from
Jul 17, 2024

Conversation

filipsobol
Copy link
Member

@filipsobol filipsobol commented Jul 16, 2024

Suggested merge commit message (convention)

Fix: Fix the component properties and event types.

Internal: Add tsconfig.json to the demo.

Internal: Lint only the .ts and .vue files.


Additional information

For the 7.0.0-alpha.0 release, we migrated the component to a Single File Component (SFC) format. Unfortunately, for whatever reason, the resulting .d.ts file doesn't contain the correct types for props and events. This PR fixes them by moving the types and interfaces to a separate file.

@coveralls
Copy link

Pull Request Test Coverage Report for Build a5e13415-1b57-4d2f-9344-b72b6039bdd1

Details

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build a93f0752-4400-417f-a939-dd54676211a5: 0.0%
Covered Lines: 57
Relevant Lines: 57

💛 - Coveralls

@pomek pomek merged commit e2a9bbc into master Jul 17, 2024
4 checks passed
@pomek pomek deleted the fix-typings branch July 17, 2024 11:04
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