Skip to content

SyncDependencies.fetchJson

SyncDependencies › fetchJson

Type: (url: string) => Promise<unknown>

GETs a URL and parses the JSON it returns, throwing on an HTTP error.