Skip to main content
Module

x/ts_morph/mod.ts>Writers.assertion

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

Gets a writer function for writing a type assertion (ex. type as assertionType).

Returns

(writer: CodeBlockWriter) => void