Skip to content

Type Alias: CreateRealm

Documentation / @wtf/project-wpt / index / CreateRealm

type CreateRealm = (globals, name) => Realm;

Defined in: packages/project-wpt/src/index.ts:61

Makes a Realm of the globals it has, none else of the program’s, and its name.

Parameters

ParameterType
globalsRecord<string, unknown>
namestring

Returns

Realm