Integrate Culqi payment gateway in Checkout component #29
Annotations
7 errors
|
type-check
Process completed with exit code 2.
|
|
type-check:
src/services/order.service.test.ts#L190
Expected 3 arguments, but got 2.
|
|
type-check:
src/services/order.service.test.ts#L67
Expected 3 arguments, but got 2.
|
|
type-check:
src/lib/utils.tests.ts#L185
Type '{ id: number; email: string; createdAt: Date; updatedAt: Date; userId: number; totalAmount: Decimal; paymentId?: string | null | undefined; firstName: string; ... 7 more ...; phone: string; }' does not satisfy the expected type '{ id: number; email: string; createdAt: Date; updatedAt: Date; userId: number; totalAmount: Decimal; paymentId: string | null; firstName: string; lastName: string; company: string | null; ... 5 more ...; phone: string; }'.
|
|
type-check:
src/lib/utils.tests.ts#L168
Type '{ id: number; email: string; createdAt: Date; updatedAt: Date; userId: number; totalAmount: Decimal; paymentId?: string | null | undefined; firstName: string; ... 7 more ...; phone: string; }' is not assignable to type '{ id: number; email: string; createdAt: Date; updatedAt: Date; userId: number; totalAmount: Decimal; paymentId: string | null; firstName: string; lastName: string; company: string | null; ... 5 more ...; phone: string; }'.
|
|
type-check:
src/lib/utils.tests.ts#L162
Type '{ id: number; email: string; createdAt: Date; updatedAt: Date; userId: number; paymentId?: string | null | undefined; firstName: string; lastName: string; company: string | null; address: string; ... 7 more ...; details: OrderDetails; }' does not satisfy the expected type 'Order'.
|
|
type-check:
src/lib/utils.tests.ts#L152
Type '{ id: number; email: string; createdAt: Date; updatedAt: Date; userId: number; paymentId?: string | null | undefined; firstName: string; lastName: string; company: string | null; address: string; ... 7 more ...; details: OrderDetails; }' is not assignable to type 'Order'.
|