Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/ts_morph/mod.ts>Writers.returnStatement

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

Gets a writer function for writing a return statement returning the provided value (ex. return value;).

Parameters

  • Value to be returned.