Skip to main content
Module

x/ts_morph/mod.ts>ParameterDeclaration#setType

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

Sets the type.

Parameters

textOrWriterFunction: string | WriterFunction
  • Text or writer function to set the type with.