diff --git a/src/platform/timesrc.ts b/src/platform/timesrc.ts index dbf51fb..d5d957a 100644 --- a/src/platform/timesrc.ts +++ b/src/platform/timesrc.ts @@ -13,7 +13,7 @@ const TimeSourceContext = createContext>(); export const TimeSourceProvider = TimeSourceContext.Provider; export function createTimeSource() { - let id: number | undefined; + let id: ReturnType | undefined; const [get, set] = createSignal(new Date()); createRenderEffect(() =>