import { ObjectLiteralExpression } from "https://deno.land/x/ts_morph@16.0.0/mod.ts";
Adds a method.
Parameters
structure: OptionalKind<MethodDeclarationStructure>
- Structure that represents the method to add.
x/ts_morph/mod.ts>ObjectLiteralExpression#addMethod
import { ObjectLiteralExpression } from "https://deno.land/x/ts_morph@16.0.0/mod.ts";
Adds a method.