Skip to content

fix theme type

fix theme type #11

Triggered via push June 17, 2024 13:15
Status Failure
Total duration 37s
Artifacts

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 2 warnings
build: src/components/AnimationView/type.ts#L15
Property '[ViewType.List]' is missing in type '{ Clock: () => JSX.Element; Image: () => JSX.Element; Card: () => JSX.Element; MouseFollow: () => JSX.Element; CheckOn: () => JSX.Element; Bubble: () => JSX.Element; TimeLine: () => JSX.Element; WaterLight: () => JSX.Element; BugWord: () => JSX.Element; Calendar: (props: CalendarProps) => JSX.Element; }' but required in type 'Record<ViewType, ElementType<any, keyof IntrinsicElements>>'.
build: src/components/ThemeToggle/index.tsx#L6
Expected 0 arguments, but got 1.
build: src/layout/main/index.tsx#L4
Cannot find module '@/components/MdViewer/index' or its corresponding type declarations.
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/checkout@v2, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/