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

refactor: better typescript integration #26

Merged
merged 6 commits into from
Apr 4, 2025
Merged

Conversation

AndreyYolkin
Copy link
Contributor

In this PR we add additional types for typescript imports, disable no-unused-vars rule to prevent false positive errors inside type definitions. And also some chores and stylistic clarifications

The `no-unused-vars` rule was causing false positives for variables in type declarations.
fix: explicitly define exports

refactor: reorganize type declarations and exports

build: add tsconfig.json for TypeScript project configuration

build: add missing type declaration files to package.json

build: add tsconfig.json to package.json

chore: remove tsconfig for distribution
@AndreyYolkin AndreyYolkin self-assigned this Apr 1, 2025
@AndreyYolkin AndreyYolkin requested a review from johnleider April 1, 2025 18:18
@johnleider
Copy link
Member

What is your process for testing / checking this in a project?

@AndreyYolkin
Copy link
Contributor Author

For vuetify/one I used installation from github
image
Also i checked https://arethetypeswrong.github.io/ with .tar

Copy link

@AndreyYolkin AndreyYolkin merged commit 4e4f44b into master Apr 4, 2025
@johnleider johnleider deleted the ae-ts-streamline branch April 7, 2025 21: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.

2 participants