diff --git a/apps/ppp/src/adapters/runtime/descriptions.ts b/apps/ppp/src/adapters/runtime/descriptions.ts index 57787fc..335ebe5 100644 --- a/apps/ppp/src/adapters/runtime/descriptions.ts +++ b/apps/ppp/src/adapters/runtime/descriptions.ts @@ -1,4 +1,4 @@ -import type { ComponentType, SvelteComponent } from "svelte"; +import type { Component } from "svelte"; import { Language } from "@/shared/languages"; @@ -11,10 +11,7 @@ import RustDescription from "./rust/description.svelte"; import GleamDescription from "./gleam/description.svelte"; import DotnetDescription from "./dotnet/description.svelte"; -export const DESCRIPTIONS: Record< - Language, - ComponentType>> -> = { +export const DESCRIPTIONS: Record = { [Language.JavaScript]: JsDescription, [Language.TypeScript]: TsDescription, [Language.PHP]: PhpDescription,