Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ts_morph/mod.ts>Writers.object

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
method Writers.object
import { Writers } from "https://deno.land/x/ts_morph@16.0.0/mod.ts";

Gets a writer function for writing the provided object as an object literal expression.

Parameters

obj: { [key: string]: WriterFunctionOrValue | undefined; }
  • Object to write.