chore(utils): consolidate type utils

This commit is contained in:
DecDuck 2024-11-06 11:49:08 +11:00
parent f2e018277b
commit adb4b7381e
No known key found for this signature in database
GPG key ID: 3999E3EFEC9EEB74
2 changed files with 1 additions and 2 deletions

View file

@ -1,4 +1,4 @@
import { FilterConditionally } from "./typefilter";
import { FilterConditionally } from "./types";
interface PriorityTagged<T> {
object: T,

View file

@ -1 +0,0 @@
export type FilterConditionally<Source, Condition> = Pick<Source, { [K in keyof Source]: Source[K] extends Condition ? K : never }[keyof Source]>;