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

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

Storage for private, distributed, offline-first applications.
Go to Latest
type alias FormatConfigType
Re-export
import { type FormatConfigType } from "https://deno.land/x/earthstar@v10.0.1/src/entries/npm.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