UNPKG

assemblyscript

Version:

A TypeScript-like language for WebAssembly.

12 lines (10 loc) 296 B
/** * @fileoverview Web polyfill definitions. * @license Apache-2.0 */ /** Fetches a file. */ export function fetch(url: string): Promise<{ arrayBuffer(): Promise<ArrayBuffer>; text(): Promise<string>; json(): Promise<any>; // eslint-disable-line @typescript-eslint/no-explicit-any }>;