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
|
||||
? Map<
|
||||
OutputType extends { id: string } ? OutputType["id"] : string,
|
||||
OutputType
|
||||
[Attr] extends [never] ? OutputType : Attr
|
||||
>
|
||||
: Array<OutputType>;
|
||||
// -----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user