web:check-types: cache miss, executing 85a5011695f89147 web:check-types: web:check-types: $ bun run prebuild && tsc --noEmit web:check-types: $ bun esbuild --bundle ./src/app/write-sitemap-paths.ts --external:react --external:tailwind-merge --external:@tabler/icons-react --external:@icons-pack/react-simple-icons --external:clsx --outfile=./.tanstack/tmp/write-sitemap-paths.js --platform=node && bun --bun run ./.tanstack/tmp/write-sitemap-paths.js web:check-types: web:check-types: .tanstack/tmp/write-sitemap-paths.js 60.3kb web:check-types: web:check-types: ⚡ Done in 23ms web:check-types: src/routes/__root.tsx:75:3 - error TS2322: Type '() => Promise<{ readonly dehydratedState: DehydratedState; } | undefined>' is not assignable to type '((ctx: LoaderFnContext) => Promise<...>) | ((ctx: LoaderFnContext<...>) => Promise<...>) | undefined'. web:check-types: Type '() => Promise<{ readonly dehydratedState: DehydratedState; } | undefined>' is not assignable to type '(ctx: LoaderFnContext) => Promise<...>'. web:check-types: Type 'Promise<{ readonly dehydratedState: DehydratedState; } | undefined>' is not assignable to type 'Promise<{ readonly dehydratedState: { mutations: { mutationKey?: readonly {}[] | undefined; state: { context: {}; data: {}; error: { name: string; message: string; stack?: string | undefined; cause?: {} | undefined; } | null; ... 5 more ...; submittedAt: number; }; meta?: { ...; } | undefined; scope?: { ...; } | und...'. web:check-types: Type '{ readonly dehydratedState: DehydratedState; } | undefined' is not assignable to type '{ readonly dehydratedState: { mutations: { mutationKey?: readonly {}[] | undefined; state: { context: {}; data: {}; error: { name: string; message: string; stack?: string | undefined; cause?: {} | undefined; } | null; ... 5 more ...; submittedAt: number; }; meta?: { ...; } | undefined; scope?: { ...; } | undefined; ...'. web:check-types: Type '{ readonly dehydratedState: DehydratedState; }' is not assignable to type '{ readonly dehydratedState: { mutations: { mutationKey?: readonly {}[] | undefined; state: { context: {}; data: {}; error: { name: string; message: string; stack?: string | undefined; cause?: {} | undefined; } | null; ... 5 more ...; submittedAt: number; }; meta?: { ...; } | undefined; scope?: { ...; } | undefined; ...'. web:check-types: The types of 'dehydratedState.mutations' are incompatible between these types. web:check-types: Type 'DehydratedMutation[]' is not assignable to type '{ mutationKey?: readonly {}[] | undefined; state: { context: {}; data: {}; error: { name: string; message: string; stack?: string | undefined; cause?: {} | undefined; } | null; failureCount: number; failureReason: { ...; } | null; isPaused: boolean; status: MutationStatus; variables: {}; submittedAt: number; }; meta...'. web:check-types: Type 'DehydratedMutation' is not assignable to type '{ mutationKey?: readonly {}[] | undefined; state: { context: {}; data: {}; error: { name: string; message: string; stack?: string | undefined; cause?: {} | undefined; } | null; failureCount: number; failureReason: { ...; } | null; isPaused: boolean; status: MutationStatus; variables: {}; submittedAt: number; }; meta...'. web:check-types: Types of property 'mutationKey' are incompatible. web:check-types: Type 'readonly unknown[] | undefined' is not assignable to type 'readonly {}[] | undefined'. web:check-types: Type 'readonly unknown[]' is not assignable to type 'readonly {}[]'. web:check-types: Type 'unknown' is not assignable to type '{}'. web:check-types: web:check-types: 75 loader: async () => { web:check-types: ~~~~~~ web:check-types: web:check-types: src/routes/chat-with.$group.tsx:54:3 - error TS2322: Type '({ params }: LoaderFnContext Promise<{ readonly dehydratedState: DehydratedState; } | undefined>, ... 4 more ..., undefined>, ... 7 more ..., undefined>) => Promise<...>' is not assignable to type '(ctx: LoaderFnContext Promise<{ readonly dehydratedState: DehydratedState; } | undefined>, ... 4 more ..., undefined>, ... 7 more ..., undefined>) => never'. web:check-types: Type 'Promise' is not assignable to type 'never'. web:check-types: web:check-types: 54 loader: async ({ params }) => { web:check-types: ~~~~~~ web:check-types: web:check-types: src/routes/models.$modelId.tsx:54:3 - error TS2322: Type '({ params }: LoaderFnContext Promise<{ readonly dehydratedState: DehydratedState; } | undefined>, ... 4 more ..., undefined>, ... 7 more ..., undefined>) => Promise<...>' is not assignable to type '(ctx: LoaderFnContext Promise<{ readonly dehydratedState: DehydratedState; } | undefined>, ... 4 more ..., undefined>, ... 7 more ..., undefined>) => never'. web:check-types: Type 'Promise' is not assignable to type 'never'. web:check-types: web:check-types: 54 loader: async ({ params }) => { web:check-types: ~~~~~~ web:check-types: web:check-types: web:check-types: Found 3 errors in 3 files. web:check-types: web:check-types: Errors Files web:check-types: 1 src/routes/__root.tsx:75 web:check-types: 1 src/routes/chat-with.$group.tsx:54 web:check-types: 1 src/routes/models.$modelId.tsx:54 web:check-types: ERROR: command finished with error: command (/Users/vrishank/Development/Projects/uncovr-kura/apps/web) /Users/vrishank/.bun/bin/bun run check-types exited (2) web#check-types: command (/Users/vrishank/Development/Projects/uncovr-kura/apps/web) /Users/vrishank/.bun/bin/bun run check-types exited (2)