fix: 서버 구성 변경에 따른 api 엔드포인트 변경 #31
Annotations
4 errors and 9 warnings
Build:
src/hooks/useSaveWiki.ts#L21
Conversion of type '{ contents: string; }' to type 'WikiPatchBody' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
Build:
src/hooks/useSaveWiki.ts#L24
Conversion of type '{ title: string; contents: string; }' to type 'WikiPostBody' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
Build:
src/hooks/useSaveWiki.ts#L31
This comparison appears to be unintentional because the types 'string' and 'number' have no overlap.
|
Build
Process completed with exit code 2.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Lint:
src/apis/mutations/useImageMutation.ts#L24
Unexpected console statement
|
Lint:
src/apis/mutations/useImageMutation.ts#L25
Unexpected alert
|
Lint:
src/apis/mutations/useLoginMutation.ts#L30
Unexpected alert
|
Lint:
src/apis/mutations/useLogoutMutation.ts#L28
Unexpected alert
|
Lint:
src/apis/mutations/useSignupMutation.ts#L36
Unexpected alert
|
Lint:
src/apis/mutations/useWikiMutation.ts#L38
Unexpected alert
|
Lint:
src/hooks/useSaveWiki.ts#L33
Unexpected alert
|
Lint:
src/pages/WikiEdit/WikiEditContents.tsx#L21
Unexpected alert
|
Loading