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

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

Storage for private, distributed, offline-first applications.
Go to Latest
type alias FormatDocType
Re-export
import { type FormatDocType } from "https://deno.land/x/earthstar@v10.2.0/src/entries/universal.ts";

Extracts a IFormat's document type, e.g. DocEs5

Type Parameters

FormatterType
definition: FormatterType extends IFormat<infer _FormatType, infer _DocInputType, infer DocType, infer _ConfigType> ? DocType : FormatterType extends IFormat<infer _FormatType, infer _DocInputType, infer DocType, infer _ConfigType>[] ? DocType : never