Merge pull request #269 from codeableorg/branch-Jeff5 #61
Annotations
7 errors
|
lint
Process completed with exit code 1.
|
|
lint:
src/routes/category/components/price-filter/index.tsx#L5
'useState' is defined but never used. Allowed unused vars must match /^_/u
|
|
lint:
src/routes/category/components/price-filter/index.tsx#L5
`react` import should occur before import of `react-router`
|
|
lint:
src/routes/category/components/price-filter/index.tsx#L4
There should be at least one empty line between import groups
|
|
lint:
src/models/cart.model.ts#L1
There should be no empty line within import group
|
|
type-check
Process completed with exit code 2.
|
|
type-check:
src/services/cart.service.ts#L43
Type '{ price: number; product: { price: number; id: number; createdAt: Date; updatedAt: Date; title: string; imgSrc: string; alt: string | null; description: string | null; categoryId: number | null; isOnSale: boolean; features: string[]; }; ... 9 more ...; quantity: number; }[]' is not assignable to type 'CartItem[]'.
|