Skip to main content
Module

x/ts_morph/mod.ts>ForStatement#getIncrementorOrThrow

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

Gets this for statement's incrementor or throws if none exists.

Parameters

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

Returns

Expression<ts.Expression>