Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/earthstar/src/entries/universal.ts>FormatConfigType

Earthstar is a tool for private, undiscoverable, offline-first networks.
Go to Latest
type alias FormatConfigType
Re-export
import { type FormatConfigType } from "https://deno.land/x/earthstar@v10.0.0/src/entries/universal.ts";

Extracts a IFormat's config type

Type Parameters

FormatterType
definition: FormatterType extends IFormat<infer _FormatType, infer _DocInputType, infer _DocType, infer ConfigType> ? ConfigType : FormatterType extends IFormat<infer _FormatType, infer _DocInputType, infer _DocType, infer ConfigType>[] ? ConfigType : never