error unknown type

This commit is contained in:
Robonau
2024-11-11 20:48:07 +00:00
committed by shamoon
parent 1fe9723959
commit 30e22a0b83

View File

@@ -27,7 +27,7 @@ export default function Component({ service }) {
/** @type {{widget: { fields: string[]|null }}} */
const { widget } = service;
/** @type { { data: { label: string, count: number }[], error: unk }} */
/** @type { { data: { label: string, count: number }[], error: unknown }} */
const { data: suwayomiData, error: suwayomiError } = useWidgetAPI(widget);
if (suwayomiError) {