fix(core): hopefully fixed typescript performace issues with tg.call #32

Merged
teidesu merged 1 commit from fix-ts-perf into master 2024-04-13 00:58:09 +03:00
Showing only changes of commit f527ca49cf - Show all commits

View file

@ -4,7 +4,7 @@ export type PartialOnly<T, K extends keyof T> = Partial<Pick<T, K>> & Omit<T, K>
export type MaybeArray<T> = T | T[] export type MaybeArray<T> = T | T[]
export type MustEqual<T, V> = T extends V ? (V extends T ? T : V) : V export type MustEqual<T, V> = (() => T) extends () => V ? ((() => V) extends () => T ? T : V) : V
export type PublicPart<T> = { [K in keyof T]: T[K] } export type PublicPart<T> = { [K in keyof T]: T[K] }