Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

$Fetch

interface $Fetch {
<T = any, R extends ResponseType = "json">(request: FetchRequest, options?: FetchOptions<R>): Promise<MappedType<R, T>>;
native: Fetch;
create(defaults: FetchOptions): $Fetch;
raw<T = any, R extends ResponseType = "json">(request: FetchRequest, options?: FetchOptions<R>): Promise<FetchResponse<MappedType<R, T>>>;
}

§Call Signatures

§
<T = any, R extends ResponseType = "json">(request: FetchRequest, options?: FetchOptions<R>): Promise<MappedType<R, T>>
[src]

§Properties

§
native: Fetch
[src]

§Methods

§
create(defaults: FetchOptions): $Fetch
[src]
§
raw<T = any, R extends ResponseType = "json">(request: FetchRequest, options?: FetchOptions<R>): Promise<FetchResponse<MappedType<R, T>>>
[src]