Module

x/ts_morph/mod.ts>PropertyAssignment#setInitializer

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Latest
method PropertyAssignment.prototype.setInitializer
import { PropertyAssignment } from "https://dotland.deno.dev/x/ts_morph@22.0.0/mod.ts";

Sets the initializer.

Parameters

textOrWriterFunction: string | WriterFunction
  • New text ot set for the initializer.