Implementación de variantes de productos / Grupo 3. #65
Annotations
12 errors
|
lint
Process completed with exit code 1.
|
|
lint:
src/services/product.service.ts#L8
Unexpected any. Specify a different type
|
|
lint:
src/services/chat-system-prompt.ts#L48
Unexpected any. Specify a different type
|
|
lint:
src/services/chat-system-prompt.ts#L47
Unexpected lexical declaration in case block
|
|
lint:
src/services/chat-system-prompt.ts#L42
Unexpected any. Specify a different type
|
|
lint:
src/services/chat-system-prompt.ts#L41
Unexpected lexical declaration in case block
|
|
lint:
src/services/chat-system-prompt.ts#L37
Unexpected any. Specify a different type
|
|
lint:
src/services/chat-system-prompt.ts#L37
Unexpected lexical declaration in case block
|
|
type-check
Process completed with exit code 2.
|
|
type-check:
src/lib/utils.tests.ts#L170
Object literal may only specify known properties, and 'productId' does not exist in type '{ id: number; createdAt: Date; updatedAt: Date; title: string; price: Decimal; imgSrc: string | null; attributeValueId: number; quantity: number; orderId: number; }'.
|
|
type-check:
src/lib/utils.tests.ts#L154
Object literal may only specify known properties, and 'productId' does not exist in type 'OrderItem'.
|
|
type-check:
src/lib/utils.tests.ts#L128
Type '{ id: number; name: string; createdAt: Date; updatedAt: Date; }[]' is not assignable to type '{ name: string; id: number; createdAt: Date; updatedAt: Date; } & { name: string; id: number; createdAt: Date; updatedAt: Date; }[]'.
|