method ParameterDeclaration.prototype.setTypeimport { ParameterDeclaration } from "https://dotland.deno.dev/x/ts_morph@22.0.0/mod.ts"; setType(textOrWriterFunction: string | WriterFunction): thisSets the type. Sets the type. ParameterstextOrWriterFunction: string | WriterFunction Text or writer function to set the type with. Returnsthis