root
import { root } from "@alloy-js/core";
function root<T>(fn: (d: Disposable) => T, options?: RootOptions): T;Parameters
Section titled “Parameters”| fn | (d: Disposable) => T | |
| options | optional RootOptions |
Options
Section titled “Options”| componentOwner | optional ComponentCreator<any> |
Returns
Section titled “Returns”T