diff --git a/libs/movex-core-util/src/lib/core-util/types.ts b/libs/movex-core-util/src/lib/core-util/types.ts index 3c87a512..6ab2d53f 100644 --- a/libs/movex-core-util/src/lib/core-util/types.ts +++ b/libs/movex-core-util/src/lib/core-util/types.ts @@ -17,7 +17,6 @@ export type NotUndefined = | NotUndefined[]; export type UnknownRecord = Record; -export type AnyRecord = Record; export type JsonPatchOp = | AddOperation> @@ -32,6 +31,7 @@ export type JsonPatchOp = export type JsonPatch = JsonPatchOp[]; export type IsOfType = T extends U ? K : never; + export type OnlyKeysOfType> = { [K in keyof O]: IsOfType; }[keyof O];