fix(core): hopefully fixed typescript performace issues with tg.call
(#32)
closes #30
This commit is contained in:
commit
d91557cb1b
1 changed files with 1 additions and 1 deletions
|
@ -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 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] }
|
||||
|
||||
|
|
Loading…
Reference in a new issue