method TypeParameterDeclaration.prototype.setDefaultimport { TypeParameterDeclaration } from "https://dotland.deno.dev/x/ts_morph@22.0.0/mod.ts"; setDefault(text: string | WriterFunction): thisSets the type parameter default type node. Sets the type parameter default type node. Parameterstext: string | WriterFunction Text to set as the default type node. Returnsthis