Skip to content

Function.AutoPath — Type instantiation is excessively deep and possibly infinite.ts(2589) #217

Answered by millsp
mesqueeb asked this question in Q&A
Discussion options

You must be logged in to vote

At the moment AutoPath only takes a single string:

function pick<T extends Record<string, any>, K extends string> (obj: T, path: F.AutoPath<T, K>): O.P.Pick<T, S.Split<K, '.'>>

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by millsp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #214 on March 06, 2021 11:24.