chore(utils): consolidate type utils

This commit is contained in:
DecDuck
2024-11-06 11:49:08 +11:00
parent f2e018277b
commit adb4b7381e
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]>;