Контроль и ограничения (часть 1) #12
Annotations
7 errors and 1 warning
build:
src/components/card.tsx#L19
Cannot invoke an object which is possibly 'undefined'.
|
build:
src/components/card.tsx#L23
Cannot invoke an object which is possibly 'undefined'.
|
build:
src/components/comments-template.tsx#L32
Type '({ target }: ChangeEvent<HTMLTextAreaElement>) => void' is not assignable to type 'FormEventHandler<HTMLDivElement>'.
|
build:
src/index.tsx#L19
Type '{ offers: Offer[]; }' is not assignable to type 'IntrinsicAttributes'.
|
build:
src/pages/main-page.tsx#L41
Property 'textContent' does not exist on type 'EventTarget'.
|
build:
src/pages/not-found-page.tsx#L14
Type '{ position: string; top: string; left: string; textAlign: string; }' is not assignable to type 'Properties<string | number, string & {}>'.
|
build
Process completed with exit code 2.
|
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|