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

Method insert

benchmark/data-min.js:363–367  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

361 return ((this.outro = this.outro.replace(n, s)), this);
362 }
363 insert() {
364 throw new Error(
365 'magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)',
366 );
367 }
368 insertLeft(t, e) {
369 return (
370 c.insertLeft ||

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected