chore: goodbye prisma! #541
Annotations
10 errors
Typecheck
Property 'productSlug' does not exist on type 'Record<never, never> | { categorySlug: string; } | { categorySlug: string; productSlug: string; } | { id: string; } | { id: string; }'.
|
Typecheck
Property 'variant' does not exist on type 'SerializeObject<{ id: string; createdAt: string; updatedAt: string; totalPrice: number; quantity: number; unitPrice: number; undiscountedUnitPrice: number; undiscountedTotalPrice: number; isGift: boolean; checkoutId: string; productVariantId: string; productVariant: { ...; }; }>'.
|
Typecheck
Property 'categorySlug' does not exist on type 'Record<never, never> | { categorySlug: string; } | { categorySlug: string; productSlug: string; } | { id: string; } | { id: string; }'.
|
Typecheck
'finishedCheckout.result' is possibly 'undefined'.
|
Typecheck
Property 'id' does not exist on type 'Record<never, never> | { categorySlug: string; } | { categorySlug: string; productSlug: string; } | { id: string; } | { id: string; }'.
|
Typecheck
Property 'id' does not exist on type 'Record<never, never> | { categorySlug: string; } | { categorySlug: string; productSlug: string; } | { id: string; } | { id: string; }'.
|
Typecheck
Property 'id' does not exist on type 'Record<never, never> | { categorySlug: string; } | { categorySlug: string; productSlug: string; } | { id: string; } | { id: string; }'.
|
Typecheck
Property 'checkout' does not exist on type '{ id: any; user?: User | undefined; secure?: SecureSessionData | undefined; }'.
|
Typecheck
Property 'checkout' does not exist on type '{ id: any; user?: User | undefined; secure?: SecureSessionData | undefined; }'.
|
Typecheck
Property 'checkout' does not exist on type '{ id: any; user?: User | undefined; secure?: SecureSessionData | undefined; }'.
|
Loading