We barely have any JS (and hope to have even less soon) but might as well take the opportunity to get my head around the new flat config format. It's fine.
···1-/* eslint-disable @typescript-eslint/no-explicit-any */
2import type { Shape } from "three/src/extras/core/Shape.js";
3import { ShapePath } from "three/src/extras/core/ShapePath.js";
4import { FileLoader } from "three/src/loaders/FileLoader.js";
···28 text = text as string;
29 try {
30 json = JSON.parse(text);
31- } catch (e) {
32 console.warn(
33 "THREE.FontLoader: typeface.js support is being deprecated. Use typeface.json instead."
34 );
···1+/* eslint-disable */
2import type { Shape } from "three/src/extras/core/Shape.js";
3import { ShapePath } from "three/src/extras/core/ShapePath.js";
4import { FileLoader } from "three/src/loaders/FileLoader.js";
···28 text = text as string;
29 try {
30 json = JSON.parse(text);
31+ } catch {
32 console.warn(
33 "THREE.FontLoader: typeface.js support is being deprecated. Use typeface.json instead."
34 );
+1-1
frontend/src/ts/three/TextGeometry.ts
···19 ExtrudeGeometry,
20 ExtrudeGeometryOptions,
21} from "three/src/geometries/ExtrudeGeometry.js";
22-import { Font } from "./FontLoader";
2324export interface TextGeometryParameters {
25 font?: Font;
···19 ExtrudeGeometry,
20 ExtrudeGeometryOptions,
21} from "three/src/geometries/ExtrudeGeometry.js";
22+import { Font } from "./FontLoader.js";
2324export interface TextGeometryParameters {
25 font?: Font;