Move utility types in common

This commit is contained in:
Marcel Mraz 2025-03-18 19:43:21 +01:00
parent 0a7e9c51d6
commit e1ea33836e
No known key found for this signature in database
GPG key ID: 4EBD6E62DC830CD2
46 changed files with 76 additions and 50 deletions

View file

@ -1,6 +1,6 @@
import oc from "open-color";
import type { Merge } from "@excalidraw/excalidraw/utility-types";
import type { Merge } from "@excalidraw/common/utility-types";
// FIXME can't put to utils.ts rn because of circular dependency
const pick = <R extends Record<string, any>, K extends readonly (keyof R)[]>(