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

Method insert

src/MagicString.ts:454–456  ·  view source on GitHub ↗

@internal

()

Source from the content-addressed store, hash-verified

452
453 /** @internal */
454 insert(): never {
455 throw new MagicStringError('insert() is deprecated, use appendLeft() or prependRight()')
456 }
457
458 /** @internal */
459 insertLeft(index: number, content: string): this {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected