Skip to content

feat: consistent return types #18

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

43081j
Copy link
Collaborator

@43081j 43081j commented Mar 2, 2025

Defines a TabFunction that all entrypoints export, such that we
consistently support the same call signature.

cc @dreyfus92 this is what I had in mind. I'll leave it as a draft until we agree or disagree its a good thing to do. it may not be, happy to hear yours and the others' thoughts

Depends on (and includes) #17

Adds completion config support and moves some things to the shared
module.

There will be a better way to share logic between these two even more
but it hasn't yet clicked in my head.
Copy link

changeset-bot bot commented Mar 2, 2025

⚠️ No Changeset found

Latest commit: 8c28a36

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Defines a `TabFunction` that all entrypoints export, such that we
consistently support the same call signature.
@43081j 43081j force-pushed the consistent-function-type branch from 7f6a272 to 8c28a36 Compare March 2, 2025 19:00
Copy link

pkg-pr-new bot commented Mar 2, 2025

Open in Stackblitz

npm i https://pkg.pr.new/bombshell-dev/tab@18

commit: 8c28a36

Copy link
Member

@dreyfus92 dreyfus92 left a comment

Choose a reason for hiding this comment

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

i like this idea, i can't think of anything that can bring challenges for the future tho.

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