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
node_modules/@rspack/core/dist/config/zod.d.ts:5207:37 - error TS2589: Type instantiation is excessively deep and possibly infinite.
5207 export declare const rspackOptions: z.ZodObject<{
~~~~~~~~~~~~~
5208 name: z.ZodOptional<z.ZodString>;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
8353 } | undefined;
~~~~~~~~~~~~~~~~~~
8354 }>;
~~
node_modules/@rspack/core/dist/config/zod.d.ts:5207:49 - error TS2344: Type '{ name: z_ZodOptional<ZodString>; dependencies: z_ZodOptional<z_ZodArray<ZodString, "many">>; entry: z_ZodOptional<z_ZodUnion<[z_ZodUnion<...>, z_ZodFunction<...>]>>; ... 26 more ...; performance: z_ZodOptional<...>; }' does not satisfy the constraint 'ZodRawShape'.
Property 'target' is incompatible with index signature.
Type 'z_ZodOptional<z_ZodUnion<[z_ZodUnion<[z_ZodLiteral<false>, z_ZodUnion<[z_ZodUnion<[z_ZodUnion<[z_ZodUnion<[z_ZodUnion<[z_ZodUnion<[z_ZodUnion<[z_ZodUnion<[z_ZodUnion<[z_ZodUnion<[z_ZodUnion<[z_ZodUnion<[z_ZodUnion<[z_ZodUnion<[z_ZodUnion<[z_ZodEnum<["web", "webworker", "es3", "es5", "es2015", "es2016", ... 6 more .....' is not assignable to type 'ZodTypeAny'.
The types returned by 'brand(...)' are incompatible between these types.
Type 'ZodBranded<ZodOptional<z_ZodUnion<any>>, any>' is not assignable to type 'ZodBranded<ZodType<any, any, any>, any>'.
Type 'ZodOptional<z_ZodUnion<any>>' is missing the following properties from type 'ZodType<any, any, any>': _type, _output, _input, _def, and 31 more.
5207 export declare const rspackOptions: z.ZodObject<{
~
5208 name: z.ZodOptional<z.ZodString>;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
7383 }>, z.ZodLiteral<false>]>>;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7384 }, "strict", z.ZodTypeAny, {
~
node_modules/@rspack/core/dist/ResolverFactory.d.ts:34:56 - error TS2694: Namespace '"/Users/JounQin/Workspaces/GitHub/backstage/node_modules/@rspack/core/compiled/enhanced-resolve/index"' has no exported member 'Resolver'.
34 type Resolver = import("../compiled/enhanced-resolve").Resolver;
~~~~~~~~
node_modules/@rspack/core/dist/ResolverFactory.d.ts:35:62 - error TS2694: Namespace '"/Users/JounQin/Workspaces/GitHub/backstage/node_modules/@rspack/core/compiled/enhanced-resolve/index"' has no exported member 'ResolveOptions'.
35 type ResolveOptions = import("../compiled/enhanced-resolve").ResolveOptions;
~~~~~~~~~~~~~~
Found 4 errors in 2 files.
Errors Files
2 node_modules/@rspack/core/dist/config/zod.d.ts:5207
2 node_modules/@rspack/core/dist/ResolverFactory.d.ts:34
This issue has been automatically marked as stale because it has not had recent activity. If this issue is still affecting you, please leave any comment (for example, "bump"). We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!
System Info
Details
Reproduce link
backstage/backstage#25953
Reproduce Steps
yarn tsc:full
The text was updated successfully, but these errors were encountered: