chore(utils): consolidate type utils
This commit is contained in:
parent
f2e018277b
commit
adb4b7381e
2 changed files with 1 additions and 2 deletions
|
|
@ -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]>;
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue