Skip to content

fix: fix typecheck boundaries + typed runtime config - #8

Merged
screeny05 merged 1 commit into
laioutr:mainfrom
freb97:fix/typecheck-server-runtime
Oct 5, 2026
Merged

screeny05 merged 1 commit into
laioutr:mainfrom
freb97:fix/typecheck-server-runtime

Conversation

@freb97

@freb97 freb97 commented Sep 27, 2026

Copy link
Copy Markdown
Contributor

This separates the module client and server tsconfigs, so typechecks work again.
Also, the globalExtensions for the runtime config didn't apply, because nuxt emits any for both of them, this fix applies the correct type.

I don't particularly like that they live in module.ts. @screeny05 what do you think, could we add something similar to the applyZodFix() function to another package and import the functions here?

Signed-off-by: Frederik Bußmann <frederik@bussmann.io>
@screeny05
screeny05 merged commit 63c390a into laioutr:main Oct 5, 2026
0 of 2 checks passed
@screeny05

Copy link
Copy Markdown
Contributor

Merged. Good workaround as long as we're on Nuxt 3

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