From 425032a6dc709640fc4e4a39e715868c3c67dae7 Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Mon, 8 Apr 2024 21:08:41 +1000 Subject: [PATCH] chore: minor cleanups (#2393) These changes occur by just running `deno task ok` on `main`. --- src/server/types.ts | 1 - tests/fixture_base_path/fresh.gen.ts | 2 +- tests/fixture_base_path_build/fresh.gen.ts | 2 +- tests/fixture_build/fresh.gen.ts | 2 +- tests/fixture_build_out_dir/fresh.gen.ts | 2 +- tests/fixture_build_out_dir_sub/src/fresh.gen.ts | 2 +- tests/fixture_build_out_dir_sub2/src/fresh.gen.ts | 2 +- tests/fixture_build_sub_dir/src/fresh.gen.ts | 2 +- tests/fixture_build_target/fresh.gen.ts | 2 +- tests/fixture_config/fresh.gen.ts | 2 +- tests/fixture_islands_multiple/fresh.gen.ts | 2 +- tests/fixture_plugin_lifecycle/fresh.gen.ts | 2 +- tests/fixture_tailwind_build/fresh.gen.ts | 2 +- tests/fixture_tailwind_build_2/fresh.gen.ts | 2 +- www/fresh.gen.ts | 2 +- 15 files changed, 14 insertions(+), 15 deletions(-) diff --git a/src/server/types.ts b/src/server/types.ts index 492eaf87299..3af7dd47ae7 100644 --- a/src/server/types.ts +++ b/src/server/types.ts @@ -249,7 +249,6 @@ export interface RouteConfig { skipAppWrapper?: boolean; } -// deno-lint-ignore no-empty-interface export interface RenderOptions extends ResponseInit {} export type ServeHandlerInfo = { diff --git a/tests/fixture_base_path/fresh.gen.ts b/tests/fixture_base_path/fresh.gen.ts index 61226c6a00b..39db03fd850 100644 --- a/tests/fixture_base_path/fresh.gen.ts +++ b/tests/fixture_base_path/fresh.gen.ts @@ -15,7 +15,7 @@ import * as $html from "./routes/html.tsx"; import * as $index from "./routes/index.tsx"; import * as $islands from "./routes/islands.tsx"; import * as $Counter from "./islands/Counter.tsx"; -import { type Manifest } from "$fresh/server.ts"; +import type { Manifest } from "$fresh/server.ts"; const manifest = { routes: { diff --git a/tests/fixture_base_path_build/fresh.gen.ts b/tests/fixture_base_path_build/fresh.gen.ts index e6643ad216e..9c108e56c68 100644 --- a/tests/fixture_base_path_build/fresh.gen.ts +++ b/tests/fixture_base_path_build/fresh.gen.ts @@ -5,7 +5,7 @@ import * as $_app from "./routes/_app.tsx"; import * as $index from "./routes/index.tsx"; -import { type Manifest } from "$fresh/server.ts"; +import type { Manifest } from "$fresh/server.ts"; const manifest = { routes: { diff --git a/tests/fixture_build/fresh.gen.ts b/tests/fixture_build/fresh.gen.ts index 4b4066a455c..c25b85d9f22 100644 --- a/tests/fixture_build/fresh.gen.ts +++ b/tests/fixture_build/fresh.gen.ts @@ -4,7 +4,7 @@ import * as $index from "./routes/index.tsx"; import * as $Counter from "./islands/Counter.tsx"; -import { type Manifest } from "$fresh/server.ts"; +import type { Manifest } from "$fresh/server.ts"; const manifest = { routes: { diff --git a/tests/fixture_build_out_dir/fresh.gen.ts b/tests/fixture_build_out_dir/fresh.gen.ts index 4b4066a455c..c25b85d9f22 100644 --- a/tests/fixture_build_out_dir/fresh.gen.ts +++ b/tests/fixture_build_out_dir/fresh.gen.ts @@ -4,7 +4,7 @@ import * as $index from "./routes/index.tsx"; import * as $Counter from "./islands/Counter.tsx"; -import { type Manifest } from "$fresh/server.ts"; +import type { Manifest } from "$fresh/server.ts"; const manifest = { routes: { diff --git a/tests/fixture_build_out_dir_sub/src/fresh.gen.ts b/tests/fixture_build_out_dir_sub/src/fresh.gen.ts index 4b4066a455c..c25b85d9f22 100644 --- a/tests/fixture_build_out_dir_sub/src/fresh.gen.ts +++ b/tests/fixture_build_out_dir_sub/src/fresh.gen.ts @@ -4,7 +4,7 @@ import * as $index from "./routes/index.tsx"; import * as $Counter from "./islands/Counter.tsx"; -import { type Manifest } from "$fresh/server.ts"; +import type { Manifest } from "$fresh/server.ts"; const manifest = { routes: { diff --git a/tests/fixture_build_out_dir_sub2/src/fresh.gen.ts b/tests/fixture_build_out_dir_sub2/src/fresh.gen.ts index 4b4066a455c..c25b85d9f22 100644 --- a/tests/fixture_build_out_dir_sub2/src/fresh.gen.ts +++ b/tests/fixture_build_out_dir_sub2/src/fresh.gen.ts @@ -4,7 +4,7 @@ import * as $index from "./routes/index.tsx"; import * as $Counter from "./islands/Counter.tsx"; -import { type Manifest } from "$fresh/server.ts"; +import type { Manifest } from "$fresh/server.ts"; const manifest = { routes: { diff --git a/tests/fixture_build_sub_dir/src/fresh.gen.ts b/tests/fixture_build_sub_dir/src/fresh.gen.ts index 4b4066a455c..c25b85d9f22 100644 --- a/tests/fixture_build_sub_dir/src/fresh.gen.ts +++ b/tests/fixture_build_sub_dir/src/fresh.gen.ts @@ -4,7 +4,7 @@ import * as $index from "./routes/index.tsx"; import * as $Counter from "./islands/Counter.tsx"; -import { type Manifest } from "$fresh/server.ts"; +import type { Manifest } from "$fresh/server.ts"; const manifest = { routes: { diff --git a/tests/fixture_build_target/fresh.gen.ts b/tests/fixture_build_target/fresh.gen.ts index 4b4066a455c..c25b85d9f22 100644 --- a/tests/fixture_build_target/fresh.gen.ts +++ b/tests/fixture_build_target/fresh.gen.ts @@ -4,7 +4,7 @@ import * as $index from "./routes/index.tsx"; import * as $Counter from "./islands/Counter.tsx"; -import { type Manifest } from "$fresh/server.ts"; +import type { Manifest } from "$fresh/server.ts"; const manifest = { routes: { diff --git a/tests/fixture_config/fresh.gen.ts b/tests/fixture_config/fresh.gen.ts index b5bfec72c19..5f36a456139 100644 --- a/tests/fixture_config/fresh.gen.ts +++ b/tests/fixture_config/fresh.gen.ts @@ -4,7 +4,7 @@ import * as $index from "./routes/index.tsx"; -import { type Manifest } from "$fresh/server.ts"; +import type { Manifest } from "$fresh/server.ts"; const manifest = { routes: { diff --git a/tests/fixture_islands_multiple/fresh.gen.ts b/tests/fixture_islands_multiple/fresh.gen.ts index 5be78994bae..13c9b6db22b 100644 --- a/tests/fixture_islands_multiple/fresh.gen.ts +++ b/tests/fixture_islands_multiple/fresh.gen.ts @@ -6,7 +6,7 @@ import * as $index from "./routes/index.tsx"; import * as $Multiple from "./islands/Multiple.tsx"; import * as $MultipleDefault from "./islands/MultipleDefault.tsx"; import * as $Single from "./islands/Single.tsx"; -import { type Manifest } from "$fresh/server.ts"; +import type { Manifest } from "$fresh/server.ts"; const manifest = { routes: { diff --git a/tests/fixture_plugin_lifecycle/fresh.gen.ts b/tests/fixture_plugin_lifecycle/fresh.gen.ts index b5bfec72c19..5f36a456139 100644 --- a/tests/fixture_plugin_lifecycle/fresh.gen.ts +++ b/tests/fixture_plugin_lifecycle/fresh.gen.ts @@ -4,7 +4,7 @@ import * as $index from "./routes/index.tsx"; -import { type Manifest } from "$fresh/server.ts"; +import type { Manifest } from "$fresh/server.ts"; const manifest = { routes: { diff --git a/tests/fixture_tailwind_build/fresh.gen.ts b/tests/fixture_tailwind_build/fresh.gen.ts index e6643ad216e..9c108e56c68 100644 --- a/tests/fixture_tailwind_build/fresh.gen.ts +++ b/tests/fixture_tailwind_build/fresh.gen.ts @@ -5,7 +5,7 @@ import * as $_app from "./routes/_app.tsx"; import * as $index from "./routes/index.tsx"; -import { type Manifest } from "$fresh/server.ts"; +import type { Manifest } from "$fresh/server.ts"; const manifest = { routes: { diff --git a/tests/fixture_tailwind_build_2/fresh.gen.ts b/tests/fixture_tailwind_build_2/fresh.gen.ts index e6643ad216e..9c108e56c68 100644 --- a/tests/fixture_tailwind_build_2/fresh.gen.ts +++ b/tests/fixture_tailwind_build_2/fresh.gen.ts @@ -5,7 +5,7 @@ import * as $_app from "./routes/_app.tsx"; import * as $index from "./routes/index.tsx"; -import { type Manifest } from "$fresh/server.ts"; +import type { Manifest } from "$fresh/server.ts"; const manifest = { routes: { diff --git a/www/fresh.gen.ts b/www/fresh.gen.ts index 3210600dfb6..d21afd00725 100644 --- a/www/fresh.gen.ts +++ b/www/fresh.gen.ts @@ -21,7 +21,7 @@ import * as $LemonDrop from "./islands/LemonDrop.tsx"; import * as $SearchButton from "./islands/SearchButton.tsx"; import * as $TableOfContents from "./islands/TableOfContents.tsx"; import * as $VersionSelect from "./islands/VersionSelect.tsx"; -import { type Manifest } from "$fresh/server.ts"; +import type { Manifest } from "$fresh/server.ts"; const manifest = { routes: {