-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
fix(remix-server-runtime): make DataFunctionArgs
a type alias
#7362
fix(remix-server-runtime): make DataFunctionArgs
a type alias
#7362
Conversation
🦋 Changeset detectedLatest commit: 3ca6521 The changes in this PR will be included in the next version bump. This PR includes changesets to release 16 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
🤣 I can't keep up with this type versus interface stuff - we export a ton of both 🤷 Wanna add a changeset so it triggers a prerelease? I'll lump it in with #7361 tomorrow |
@brophdawg11 Basically we should almost always use type aliases unless we want to support interface augmentation (which is almost never the case) |
c1e1849
to
3ca6521
Compare
Would you want to work with @pcattori to get together some sort of decision doc or guidelines around this stuff? From a quick count, I counted ~20 or so interfaces in the 45 exports from |
@brophdawg11 I'll create a PR that makes all of them a type alias + enable linting rules that enforce this 👍 RR should only do that as part of v7 as it would technically be a breaking change to make it a type alias |
We can merge this since it aligns better with the |
🤖 Hello there, We just published version Thanks! |
🤖 Hello there, We just published version Thanks! |
🤖 Hello there, We just published version Thanks! |
Follow-up of @brophdawg11's #7360
I don't think we want people to override
DataFunctionArgs
as they can already overrideAppLoadContext