chore: clean up remaining type errors in project (#1537)

This commit is contained in:
Reed von Redwitz
2023-07-28 10:45:45 +02:00
committed by GitHub
parent 87d52e24dd
commit 6fc885ecc5
3 changed files with 6 additions and 3 deletions
+3 -1
View File
@@ -14,6 +14,8 @@
"@preact/signals-core@1.2.3": "https://esm.sh/@preact/signals-core@1.2.3",
"@preact/signals-core@1.3.0": "https://esm.sh/@preact/signals-core@1.3.0",
"$std/": "https://deno.land/std@0.193.0/",
"$ga4": "https://raw.githubusercontent.com/denoland/ga4/main/mod.ts"
"$ga4": "https://raw.githubusercontent.com/denoland/ga4/main/mod.ts",
"$marked-mangle": "https://esm.sh/marked-mangle@1.0.1",
"$marked-smartypants": "https://esm.sh/marked-smartypants@1.0.1"
}
}
+1
View File
@@ -7,4 +7,5 @@
import { start } from "$fresh/server.ts";
import manifest from "./fresh.gen.ts";
// @ts-expect-error: the index.tsx file declares a "handlers" but no "handler", to simulate a typo or confusion on the user's part
await start(manifest);
+2 -2
View File
@@ -1,9 +1,9 @@
import { defineConfig } from "https://esm.sh/@twind/core@1.1.3";
import { defineConfig, Preset } from "https://esm.sh/@twind/core@1.1.3";
import presetTailwind from "https://esm.sh/@twind/preset-tailwind@1.1.4";
export default {
...defineConfig({
presets: [presetTailwind()],
presets: [presetTailwind() as Preset],
}),
selfURL: import.meta.url,
};