-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
I use TypeScript and get TS error Type instantiation is excessively deep and possibly infinite.ts(2589) whenever I have below code.
import { QueryValueObject } from 'fauna'
type MyType = {
name: string
} & QueryValueObject
myFunc = (payload: MyType) => {
return payload
}
myFunc({ name: 'olu'})I think the issue is from here export type QueryValue = looks like QueryValue is deeply recursive.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels