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
+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,
};