ESLint
+ Add in ESLint support, with TS and Svelte included. ~ Resolve typing issues in both countdown, and in the healthcheck endpoint
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
import { onMount } from "svelte";
|
||||
|
||||
const GRADUATION = new Date(1753797600000).valueOf();
|
||||
let interval: NodeJS.Timer;
|
||||
let interval: ReturnType<typeof setInterval>;
|
||||
|
||||
let timeTo = Math.abs(GRADUATION - Date.now().valueOf()) / 1000;
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
import type { RequestHandler } from "./$types";
|
||||
|
||||
export const GET: RequestHandler = ({ url }) => {
|
||||
export function GET() {
|
||||
return new Response();
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user