iink-ts - v5.0.0
    Preparing search index...

    Type Alias TExporterMap

    TExporterMap: {
        [F in TExportFormat]: (
            options?: TExportOptions,
        ) => Promise<TExportResultMap[F]>
    }

    One exporter per format, each resolving with the type TExportResultMap declares for it.

    The map is total over TExportFormat, which is what makes the generic dispatch in ExportManager.exportAs type-safe without a cast.