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

closes #30
This commit is contained in:
alina 🌸 2024-04-13 00:31:33 +03:00
parent 7dca68d6b9
commit f527ca49cf
Signed by: teidesu
SSH key fingerprint: SHA256:uNeCpw6aTSU4aIObXLvHfLkDa82HWH9EiOj9AXOIRpI

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] }