MCPcopy
hub / github.com/SukkaW/Surge / withDescription

Method withDescription

Build/lib/rules/base.ts:85–88  ·  view source on GitHub ↗
(description: string[] | readonly string[])

Source from the content-addressed store, hash-verified

83
84 protected description: string[] | null = null;
85 withDescription(description: string[] | readonly string[]) {
86 this.description = description as string[];
87 return this;
88 }
89
90 appendDescription(description: string | string[], ...rest: string[]) {
91 this.description ??= [];

Calls

no outgoing calls

Tested by

no test coverage detected