chore: rename non-jsx files .tsx -> .ts (#3285)

This commit is contained in:
Marvin Hagemeister
2025-09-01 08:03:04 +02:00
committed by GitHub
parent 33cb164b7d
commit 5d7a4c8e07
11 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
import "preact/debug";
export * from "./mod.tsx";
export * from "./mod.ts";
import { IS_BROWSER } from "../shared.ts";
let ws: WebSocket;
@@ -6,7 +6,7 @@ import {
matchesUrl,
PartialMode,
UrlMatchKind,
} from "../shared_internal.tsx";
} from "../shared_internal.ts";
import {
ACTIVE_PARTIALS,
copyOldChildren,
@@ -4,7 +4,7 @@ import {
CLIENT_NAV_ATTR,
type InternalPreactOptions,
OptionsType,
} from "../shared_internal.tsx";
} from "../shared_internal.ts";
import { BUILD_ID } from "@fresh/build-id";
import { renderToString } from "preact-render-to-string";
import { useEffect } from "preact/hooks";
+1 -1
View File
@@ -9,7 +9,7 @@ import {
} from "preact";
import { type CustomParser, parse } from "../../jsonify/parse.ts";
import { computed, signal } from "@preact/signals";
import { DATA_FRESH_KEY, PartialMode } from "../shared_internal.tsx";
import { DATA_FRESH_KEY, PartialMode } from "../shared_internal.ts";
const enum RootKind {
Island,
@@ -22,7 +22,7 @@ import {
OptionsType,
PartialMode,
setActiveUrl,
} from "../shared_internal.tsx";
} from "../shared_internal.ts";
import type { BuildCache } from "../../build_cache.ts";
import { BUILD_ID } from "@fresh/build-id";
import {
+1 -1
View File
@@ -1,6 +1,6 @@
import type { ComponentChildren, VNode } from "preact";
import { BUILD_ID } from "@fresh/build-id";
import { assetInternal, assetSrcSetInternal } from "./shared_internal.tsx";
import { assetInternal, assetSrcSetInternal } from "./shared_internal.ts";
/**
* Returns true when the current runtime is the browser and false otherwise. This is used for guard runtime-dependent code.