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

Enforce stricter types & type tests #58

Merged
merged 9 commits into from
Feb 19, 2025
Merged

Enforce stricter types & type tests #58

merged 9 commits into from
Feb 19, 2025

Conversation

NuroDev
Copy link
Member

@NuroDev NuroDev commented Feb 18, 2025

This PR is the first of many for this package to improve the TypeScript types to make them stricter, more robust & simpler for the end user to interact with.

As part of this first wave I have introduced expect-type to allow for type checking in tests, along with some other minor refactoring & adding of comments.

@NuroDev NuroDev requested review from leo and colodenn February 18, 2025 14:23
@NuroDev NuroDev self-assigned this Feb 18, 2025
Copy link

github-actions bot commented Feb 18, 2025

Released an experimental package:

bun add @ronin/syntax@ben-ron-1099-experimental-145

This package will be removed after the pull request has been merged.

@codecov-commenter
Copy link

codecov-commenter commented Feb 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
src/helpers/expressions.ts 100.00% <100.00%> (ø)
src/helpers/functions.ts 100.00% <100.00%> (ø)
src/schema/model.ts 100.00% <100.00%> (ø)

@NuroDev NuroDev marked this pull request as ready for review February 18, 2025 14:28
@NuroDev NuroDev enabled auto-merge (squash) February 18, 2025 14:35
@NuroDev NuroDev merged commit a8d92e5 into main Feb 19, 2025
3 checks passed
@NuroDev NuroDev deleted the ben/ron-1099 branch February 19, 2025 14:07
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