Use explicit .ts extensions for Node-compatible imports

Node's --experimental-strip-types requires explicit .ts extensions on
relative imports. Add allowImportingTsExtensions to both app tsconfigs
and update server-side imports in planner and journal for consistency.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ullrich Schäfer 2026-03-25 01:34:16 +01:00
parent 1abcc5c804
commit 4d73de4e0d
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9
8 changed files with 9 additions and 7 deletions

View file

@ -1,6 +1,6 @@
import { createRequestHandler } from "@react-router/node";
import { createServer } from "node:http";
import { setupYjsWebSocket } from "./app/lib/yjs-server";
import { setupYjsWebSocket } from "./app/lib/yjs-server.ts";
const port = Number(process.env.PORT ?? 3001);