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.
Go to Latest
interface WebAssembly.MemoryDescriptor
import { type WebAssembly } from "https://deno.land/x/deno@v1.40.5/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