Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno/cli/tsc/dts/lib.deno.shared_globals.d.ts>WebAssembly.MemoryDescriptor

A modern runtime for JavaScript and TypeScript.
Latest
interface WebAssembly.MemoryDescriptor
import { type WebAssembly } from "https://deno.land/x/deno@v2.0.4/cli/tsc/dts/lib.deno.shared_globals.d.ts";
const { MemoryDescriptor } = WebAssembly;

The MemoryDescriptor describes the options you can pass to new WebAssembly.Memory().

Properties

initial: number
optional
maximum: number
optional
shared: boolean