MCPcopy Create free account
hub / github.com/Rich-Harris/magic-string / prependLeft

Method prependLeft

src/Chunk.ts:97–99  ·  view source on GitHub ↗
(content: string)

Source from the content-addressed store, hash-verified

95 }
96
97 prependLeft(content: string): void {
98 this.outro = content + this.outro
99 }
100
101 prependRight(content: string): void {
102 this.intro = content + this.intro

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected