refactor: revert assignment of oldmarr widget mapping (#1780)

This commit is contained in:
Meier Lukas
2024-12-26 08:58:06 +01:00
committed by GitHub
parent e37279fe80
commit ef24370a8c
5 changed files with 73 additions and 50 deletions

View File

@@ -11,3 +11,8 @@ export type RemoveReadonly<T> = {
};
export type MaybeArray<T> = T | T[];
export type Inverse<T extends Invertible> = {
[Key in keyof T as T[Key]]: Key;
};
type Invertible = Record<PropertyKey, PropertyKey>;