You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix virtual module type to properly handle optional properties
The virtual module `virtual:react-router/server-build` now deliberately
implements CommonJS `export =` syntax to correctly support optional
properties in the `ServerBuild` type, ensuring proper TypeScript
compatibility with `exactOptionalPropertyTypes`.
Signed-off-by: Sora Morimoto <[email protected]>
Fix virtual module type to properly handle optional properties.
6
+
7
+
The virtual module `virtual:react-router/server-build` now deliberately implements CommonJS `export =` syntax to correctly support optional properties in the `ServerBuild` type, ensuring proper TypeScript compatibility with `exactOptionalPropertyTypes`.
0 commit comments