Skip to main content
Module

x/ts_morph/ts_morph.d.ts>JsxAttribute#getInitializerOrThrow

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Latest
method JsxAttribute.prototype.getInitializerOrThrow
import { JsxAttribute } from "https://deno.land/x/ts_morph@22.0.0/ts_morph.d.ts";

Gets the JSX attribute's initializer or throws if it doesn't exist.

Parameters

optional
message: string | (() => string)