decl
Create a declaration in the current scope with the given namekey. Only works
with basic scopes. Import decl from a specific language library for
declaring language-specific symbols.
import { decl } from "@alloy-js/core";
function decl(namekey: Namekey): import("../runtime/component.js").ComponentCreator<{}>;Parameters
Section titled “Parameters”| namekey |
|
Returns
Section titled “Returns”import(”../runtime/component.js”).ComponentCreator<{}>