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

feat: part.type for easy type narrowing #422

Merged
merged 5 commits into from
Mar 13, 2023
Merged

Conversation

nadhifikbarw
Copy link
Contributor

Easier type narrowing as discussed #144

Checklist

@nadhifikbarw
Copy link
Contributor Author

Before
image

After
image

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Member

@climba03003 climba03003 left a comment

Choose a reason for hiding this comment

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

It looks better.

Copy link
Contributor

@Uzlopak Uzlopak left a comment

Choose a reason for hiding this comment

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

Just some nitpicking on the typings tests, other than LGTM. Nice work.

test/index.test-d.ts Outdated Show resolved Hide resolved
test/index.test-d.ts Show resolved Hide resolved
test/index.test-d.ts Outdated Show resolved Hide resolved
test/index.test-d.ts Outdated Show resolved Hide resolved
nadhifikbarw and others added 4 commits March 13, 2023 19:56
Co-authored-by: Uzlopak <aras.abbasi@googlemail.com>
Co-authored-by: Uzlopak <aras.abbasi@googlemail.com>
Co-authored-by: Uzlopak <aras.abbasi@googlemail.com>
Co-authored-by: Uzlopak <aras.abbasi@googlemail.com>
@nadhifikbarw
Copy link
Contributor Author

@Uzlopak thanks! that was my initial approach, I thought it won't work since my IDE showing error, but it was only my cache issue.

Copy link
Contributor

@Uzlopak Uzlopak left a comment

Choose a reason for hiding this comment

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

LGTM

@mcollina mcollina merged commit 3042c08 into fastify:master Mar 13, 2023
@renovate renovate bot mentioned this pull request Jun 22, 2023
1 task
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.

None yet

4 participants