import { type DecoratableNode } from "https://dotland.deno.dev/x/ts_morph@17.0.0/mod.ts";
Methods
addDecorators(structures: ReadonlyArray<OptionalKind<DecoratorStructure>>): Decorator[]
Adds decorators.
insertDecorator(index: number, structure: OptionalKind<DecoratorStructure>): Decorator
Inserts a decorator.
insertDecorators(index: number, structures: ReadonlyArray<OptionalKind<DecoratorStructure>>): Decorator[]
Insert decorators.
import { DecoratableNode } from "https://dotland.deno.dev/x/ts_morph@17.0.0/mod.ts";
Type Parameters
T extends Constructor<DecoratableNodeExtensionType>
Parameters
Base: T