mirror of
https://github.com/excalidraw/excalidraw
synced 2025-07-25 13:58:22 +08:00
fix type
This commit is contained in:
@ -89,7 +89,7 @@ export type OutputAccumulator<
|
|||||||
: Accumulator extends MapAccumulator
|
: Accumulator extends MapAccumulator
|
||||||
? Map<
|
? Map<
|
||||||
OutputType extends { id: string } ? OutputType["id"] : string,
|
OutputType extends { id: string } ? OutputType["id"] : string,
|
||||||
OutputType
|
[Attr] extends [never] ? OutputType : Attr
|
||||||
>
|
>
|
||||||
: Array<OutputType>;
|
: Array<OutputType>;
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user