@eagleoutice/flowr - v2.17.4
    Preparing search index...

    Type Alias SingleQueryResult<Type>

    SingleQueryResult: Type extends unknown
        ? typeof SupportedQueries[Type] extends { perQueryResults: true }
            ? ValueOf<Type>
            : Awaited<QueryResult<Type>>
        : never

    What Query.one answers a single query of the given type with: the one entry of its results for a query marked SupportedQuery#perQueryResults, its full result otherwise. Use it as the return type of wrappers that run one query, as the type follows the query type.

    Type Parameters

    type Slice = SingleQueryResult<'static-slice'>; // { slice, reconstruct }
    type Clones = SingleQueryResult<'code-clones'>; // { pairs, stats, index? } (the full result)