deno.com

interface Module.RegisterOptions

Type Parameters #

#Data

Properties #

#parentURL:
string
| URL
| undefined
optional

If you want to resolve specifier relative to a base URL, such as import.meta.url, you can pass that URL here. This property is ignored if the parentURL is supplied as the second argument.

#data: Data | undefined
optional

Any arbitrary, cloneable JavaScript value to pass into the initialize hook.

#transferList: any[] | undefined
optional

Transferable objects to be passed into the initialize hook.