Function: loadTypedefsSync()
loadTypedefsSync<
AdditionalConfig>(pointerOrPointers,options):Source[]
Defined in: packages/load/src/load-typedefs.ts:87
Synchronously loads any GraphQL documents (i.e. executable documents like operations and fragments as well as type system definitions) from the provided pointers.
Type Parameters
AdditionalConfig
AdditionalConfig = Record<string, unknown>
Parameters
pointerOrPointers
UnnormalizedTypeDefPointer | UnnormalizedTypeDefPointer[]
Pointers to the sources to load the documents from
options
LoadTypedefsOptions<Partial<AdditionalConfig>>
Additional options
Returns
Source[]