mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-07-26 17:54:44 +10:00
chore(utils): consolidate type utils
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import { FilterConditionally } from "./typefilter";
|
import { FilterConditionally } from "./types";
|
||||||
|
|
||||||
interface PriorityTagged<T> {
|
interface PriorityTagged<T> {
|
||||||
object: T,
|
object: T,
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
export type FilterConditionally<Source, Condition> = Pick<Source, { [K in keyof Source]: Source[K] extends Condition ? K : never }[keyof Source]>;
|
|
||||||
Reference in New Issue
Block a user