-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Description
A type error is triggered on building when using dynamic headers.
Type error: Type '{ 'Prismic-Ref': () => Promise<string>; Authorization: string; Accept: string; 'Content-Type': string; }' is not assignable to type 'ISimpleQLHeaders'.
Types of property ''Prismic-Ref'' are incompatible.
Type '() => Promise<string>' is not assignable to type 'string | DynamicHeaderValue'.
Type '() => Promise<string>' is not assignable to type 'DynamicHeaderValue'.
Type 'Promise<string>' is not assignable to type 'string | DynamicHeaderValue'.
Type 'Promise<string>' is not assignable to type 'DynamicHeaderValue'.
Type 'Promise<string>' provides no match for the signature '(): string | DynamicHeaderValue'
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working